Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.ProcessComponents.Thermal.Liquid.TubeWall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.Liquid.TubeWall") translateModel(AES.ProcessComponents.Thermal.Liquid.TubeWall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.Liquid.TubeWall") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1012/0.1012, allocations: 21.45 MB / 36.4 MB, free: 1.172 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001063, allocations: 186.9 kB / 42.63 MB, free: 3.906 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.4 MB / 254.1 MB, free: 15.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009037/0.0009035, allocations: 96.69 kB / 307.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.000364, allocations: 13 kB / 373.2 MB, free: 59.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1183, allocations: 52.95 MB / 426.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Liquid.TubeWall): time 0.001472/0.1198, allocations: 1.251 MB / 427.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000641/0.1205, allocations: 485.1 kB / 427.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.1205, allocations: 3.938 kB / 427.9 MB, free: 11.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.1207, allocations: 23.84 kB / 427.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.81e-05/0.1207, allocations: 39.86 kB / 428 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.1209, allocations: 19.97 kB / 428 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.1212, allocations: 239.6 kB / 428.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.1214, allocations: 116 kB / 428.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.1215, allocations: 115.8 kB / 428.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.1217, allocations: 131.7 kB / 428.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.1217, allocations: 16 kB / 428.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.865e-05/0.1218, allocations: 16 kB / 428.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.421e-05/0.1219, allocations: 111.8 kB / 428.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.931e-05/0.1219, allocations: 73.58 kB / 428.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.1221, allocations: 287.3 kB / 429.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1221, allocations: 0 / 429.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1221, allocations: 0 / 429.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.1221, allocations: 0 / 429.1 MB, free: 10.11 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001116/0.1233, allocations: 0.655 MB / 429.7 MB, free: 9.402 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.1233, allocations: 12.03 kB / 429.7 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.677e-05/0.1234, allocations: 27.62 kB / 429.8 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.1238, allocations: 274.6 kB / 430 MB, free: 9.055 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.1239, allocations: 20.56 kB / 430.1 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.599e-05/0.1239, allocations: 24 kB / 430.1 MB, free: 9.012 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.1245, allocations: 380.9 kB / 430.4 MB, free: 8.617 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1245, allocations: 0 / 430.4 MB, free: 8.617 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.1246, allocations: 4 kB / 430.5 MB, free: 8.613 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1246, allocations: 8 kB / 430.5 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003396/0.1249, allocations: 243.8 kB / 430.7 MB, free: 8.367 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.1268, allocations: 1.779 MB / 432.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005116/0.1273, allocations: 441.1 kB / 432.9 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.1273, allocations: 4 kB / 432.9 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.1274, allocations: 42.62 kB / 433 MB, free: 5.867 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.704e-06/0.1274, allocations: 0 / 433 MB, free: 5.867 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006794/0.1281, allocations: 434.3 kB / 433.4 MB, free: 5.438 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.1281, allocations: 166.2 kB / 433.5 MB, free: 5.238 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.1283, allocations: 199.3 kB / 433.7 MB, free: 5.035 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.1283, allocations: 29.7 kB / 433.8 MB, free: 5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.706e-05/0.1284, allocations: 152 kB / 433.9 MB, free: 4.848 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.052e-05/0.1285, allocations: 114.5 kB / 434 MB, free: 4.734 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.936e-05/0.1285, allocations: 16 kB / 434 MB, free: 4.719 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.113e-05/0.1286, allocations: 338.8 kB / 434.4 MB, free: 4.379 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.1288, allocations: 164.7 kB / 434.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.1291, allocations: 273.1 kB / 434.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.1294, allocations: 223.8 kB / 435 MB, free: 3.684 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1294, allocations: 0 / 435 MB, free: 3.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005398/0.1299, allocations: 0.4931 MB / 435.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1299, allocations: 10.66 kB / 435.5 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.13, allocations: 8.062 kB / 435.5 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.13, allocations: 4 kB / 435.5 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004873/0.1305, allocations: 148.6 kB / 435.7 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.1305, allocations: 15.92 kB / 435.7 MB, free: 3.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.1307, allocations: 47.53 kB / 435.7 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.1307, allocations: 16 kB / 435.8 MB, free: 2.941 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.1309, allocations: 177.6 kB / 435.9 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.833e-05/0.131, allocations: 15.81 kB / 435.9 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.85e-05/0.1311, allocations: 44.98 kB / 436 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1311, allocations: 4 kB / 436 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1311, allocations: 4 kB / 436 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1311, allocations: 0 / 436 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005234/0.1316, allocations: 409.2 kB / 436.4 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1316, allocations: 3.938 kB / 436.4 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006123/0.1322, allocations: 123.9 kB / 436.5 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1323, allocations: 0 / 436.5 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.1323, allocations: 19.98 kB / 436.5 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1323, allocations: 4 kB / 436.5 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.1323, allocations: 3.938 kB / 436.5 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005792/0.1329, allocations: 0.8454 MB / 437.4 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/0.133, allocations: 109 kB / 437.5 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.321e-05/0.133, allocations: 15.98 kB / 437.5 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/0.1333, allocations: 19.89 kB / 437.5 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.1334, allocations: 23.89 kB / 437.6 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.1334, allocations: 12 kB / 437.6 MB, free: 1.008 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000108/0.1335, allocations: 147.4 kB / 437.7 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1335, allocations: 0 / 437.7 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004712/0.134, allocations: 103.8 kB / 437.8 MB, free: 0.7617 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (wall.T[1,1],wall.T[1,2],wall.T[1,3],wall.T[2,1],wall.T[2,2],wall.T[2,3],wall.T[3,1],wall.T[3,2],wall.T[3,3],wall.T[4,1],wall.T[4,2],wall.T[4,3],wall.T[5,1],wall.T[5,2],wall.T[5,3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001286/0.1341, allocations: 115 kB / 437.9 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004376/0.1346, allocations: 360.1 kB / 438.3 MB, free: 296 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1346, allocations: 4.062 kB / 438.3 MB, free: 292 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.1348, allocations: 151.8 kB / 438.4 MB, free: 140 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/0.1353, allocations: 92 kB / 438.5 MB, free: 48 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.1375, allocations: 1.734 MB / 440.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.1379, allocations: 0.7915 MB / 441 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003234/0.1383, allocations: 150.1 kB / 441.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.226e-05/0.1384, allocations: 27.44 kB / 441.2 MB, free: 13.27 MB / 314.7 MB Notification: Performance of SimCode: time 3.4e-07/0.1384, allocations: 0 / 441.2 MB, free: 13.27 MB / 314.7 MB Notification: Performance of Templates: time 0.007197/0.1456, allocations: 3.698 MB / 444.9 MB, free: 9.582 MB / 314.7 MB make -j1 -f AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.makefile (rm -f AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe ; mkfifo AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe >> ../files/AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.sim & ./AES_AES.ProcessComponents.Thermal.Liquid.TubeWall -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe 2>&1)