Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_stank_002.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.Devel_test_models.Test_stank_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_002") translateModel(AES.Devel_test_models.Test_stank_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_002") [/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.1376/0.1376, allocations: 21.44 MB / 36.39 MB, free: 1.148 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.001839/0.001839, allocations: 184.4 kB / 42.63 MB, free: 3.992 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.614/1.614, allocations: 205.4 MB / 254.1 MB, free: 15.21 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.0008289/0.0008287, allocations: 82.94 kB / 307.8 MB, free: 11.09 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003874, allocations: 8.562 kB / 373.2 MB, free: 59.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08801/0.08842, allocations: 52.95 MB / 426.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.002554/0.09104, allocations: 2.69 MB / 428.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.09251, allocations: 1.026 MB / 429.9 MB, free: 9.301 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.09267, allocations: 8 kB / 429.9 MB, free: 9.293 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.09281, allocations: 51.59 kB / 430 MB, free: 9.242 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.09303, allocations: 167.5 kB / 430.1 MB, free: 9.078 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.09345, allocations: 143.7 kB / 430.3 MB, free: 8.938 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000361/0.09382, allocations: 464.2 kB / 430.7 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000399/0.09423, allocations: 333.1 kB / 431 MB, free: 8.156 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.09446, allocations: 255.2 kB / 431.3 MB, free: 7.906 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002985/0.09477, allocations: 322.9 kB / 431.6 MB, free: 7.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.575e-05/0.09484, allocations: 48 kB / 431.6 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.09498, allocations: 71.97 kB / 431.7 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.0951, allocations: 159.6 kB / 431.9 MB, free: 7.316 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.608e-05/0.09519, allocations: 125.5 kB / 432 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003783/0.09558, allocations: 0.5843 MB / 432.6 MB, free: 6.602 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.09559, allocations: 0 / 432.6 MB, free: 6.602 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.0956, allocations: 3.938 kB / 432.6 MB, free: 6.598 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.09561, allocations: 7.938 kB / 432.6 MB, free: 6.59 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001415/0.09703, allocations: 0.799 MB / 433.4 MB, free: 5.742 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.09707, allocations: 8.031 kB / 433.4 MB, free: 5.734 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.09718, allocations: 63.34 kB / 433.5 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.09762, allocations: 383 kB / 433.8 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.09775, allocations: 112.4 kB / 433.9 MB, free: 5.133 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.5e-05/0.09784, allocations: 51.91 kB / 434 MB, free: 5.082 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.09918, allocations: 0.7091 MB / 434.7 MB, free: 4.367 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.0992, allocations: 0 / 434.7 MB, free: 4.367 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.796e-05/0.09927, allocations: 20 kB / 434.7 MB, free: 4.348 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.09928, allocations: 16 kB / 434.7 MB, free: 4.332 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.1006, allocations: 0.6363 MB / 435.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004471/0.1051, allocations: 2.672 MB / 438 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009728/0.106, allocations: 0.5643 MB / 438.6 MB, free: 392 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/0.1062, allocations: 93.47 kB / 438.7 MB, free: 280 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.1062, allocations: 39.03 kB / 438.7 MB, free: 232 kB / 298.7 MB Notification: Performance of pre-optimization done (n=46): time 2.064e-06/0.1062, allocations: 3.938 kB / 438.7 MB, free: 228 kB / 298.7 MB Notification: Performance of matching and sorting (n=50): time 0.005708/0.112, allocations: 2.319 MB / 441.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.112, allocations: 55.84 kB / 441.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/0.1124, allocations: 357.6 kB / 441.5 MB, free: 13.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/0.1125, allocations: 29.7 kB / 441.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.1127, allocations: 232.4 kB / 441.7 MB, free: 13.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.1128, allocations: 185.2 kB / 441.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.1129, allocations: 12 kB / 441.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.113, allocations: 354.8 kB / 442.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008616/0.1139, allocations: 393.7 kB / 442.6 MB, free: 12.22 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008692/0.1148, allocations: 447.9 kB / 443.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008202/0.1156, allocations: 372.3 kB / 443.4 MB, free: 11.4 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1156, allocations: 0 / 443.4 MB, free: 11.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002006/0.1176, allocations: 0.9044 MB / 444.4 MB, free: 10.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.1177, allocations: 8.094 kB / 444.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.1177, allocations: 4 kB / 444.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1177, allocations: 7.938 kB / 444.4 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007808/0.1255, allocations: 1.28 MB / 445.6 MB, free: 9.188 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004584/0.126, allocations: 0.5938 MB / 446.2 MB, free: 8.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006273/0.1267, allocations: 72.06 kB / 446.3 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/0.1267, allocations: 23.98 kB / 446.3 MB, free: 8.477 MB / 314.7 MB Warning: Assuming fixed start value for the following 5 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real stank.Tcold:VARIABLE(min = 0.0 start = stank.Tcoldstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.Thot:VARIABLE(min = 0.0 start = stank.Thotstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.lcold:VARIABLE(start = stank.lcoldstart unit = "m" fixed = true stateSelect=StateSelect.prefer ) "cold height" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003935/0.1271, allocations: 207.1 kB / 446.5 MB, free: 8.266 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.607e-05/0.1272, allocations: 39.53 kB / 446.6 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.1293, allocations: 0.8797 MB / 447.5 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.1293, allocations: 4 kB / 447.5 MB, free: 7.336 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1293, allocations: 0 / 447.5 MB, free: 7.336 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.1293, allocations: 0 / 447.5 MB, free: 7.336 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00349/0.1328, allocations: 1.806 MB / 449.3 MB, free: 5.469 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1329, allocations: 0 / 449.3 MB, free: 5.469 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007755/0.1406, allocations: 1.272 MB / 450.5 MB, free: 4.195 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.632e-05/0.1407, allocations: 8 kB / 450.5 MB, free: 4.188 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/0.1408, allocations: 12 kB / 450.6 MB, free: 4.176 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004544/0.1413, allocations: 0.5899 MB / 451.1 MB, free: 3.562 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1413, allocations: 3.953 kB / 451.2 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002797/0.1441, allocations: 1.353 MB / 452.5 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.1443, allocations: 124.5 kB / 452.6 MB, free: 2.039 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.809e-05/0.1444, allocations: 8 kB / 452.6 MB, free: 2.031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005348/0.1449, allocations: 75.89 kB / 452.7 MB, free: 1.957 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.1451, allocations: 72.3 kB / 452.8 MB, free: 1.887 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/0.1451, allocations: 20 kB / 452.8 MB, free: 1.867 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002725/0.1454, allocations: 255.2 kB / 453 MB, free: 1.621 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1454, allocations: 0 / 453 MB, free: 1.621 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004944/0.1459, allocations: 140 kB / 453.2 MB, free: 1.484 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (stank.lcold,stank.Thot,stank.Tcold,H.Tfo,H.Ec,tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002051/0.1461, allocations: 123 kB / 453.3 MB, free: 1.355 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003138/0.1493, allocations: 0.9662 MB / 454.3 MB, free: 392 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.1493, allocations: 192 / 454.3 MB, free: 392 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002147/0.1515, allocations: 0.5686 MB / 454.8 MB, free: 15.81 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/0.1521, allocations: 89.5 kB / 454.9 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004411/0.1565, allocations: 2.208 MB / 457.1 MB, free: 13.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.1569, allocations: 0.8513 MB / 458 MB, free: 12.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004679/0.1573, allocations: 104.2 kB / 458.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.1576, allocations: 47.42 kB / 458.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1576, allocations: 0 / 458.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of Templates: time 0.0124/0.17, allocations: 7.187 MB / 465.3 MB, free: 5.27 MB / 330.7 MB make -j1 -f AES_AES.Devel_test_models.Test_stank_002.makefile (rm -f AES_AES.Devel_test_models.Test_stank_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_stank_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_stank_002.pipe >> ../files/AES_AES.Devel_test_models.Test_stank_002.sim & ./AES_AES.Devel_test_models.Test_stank_002 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Devel_test_models.Test_stank_002.pipe 2>&1)