Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_006.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_liquid_circuit_006,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_006") translateModel(AES.Devel_test_models.Test_liquid_circuit_006,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_006") [/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.09596/0.09596, allocations: 21.6 MB / 37.4 MB, free: 0.7617 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.001224/0.001224, allocations: 192.4 kB / 43.64 MB, free: 3.566 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.374/1.374, allocations: 205.1 MB / 254.8 MB, free: 14.27 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.000975/0.0009749, allocations: 108.2 kB / 307.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 58.77 kB / 372.3 MB, free: 59.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07241/0.07357, allocations: 51.98 MB / 424.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_006): time 0.002674/0.07628, allocations: 2.62 MB / 426.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009374/0.07723, allocations: 0.8579 MB / 427.8 MB, free: 11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.347e-05/0.07732, allocations: 4 kB / 427.8 MB, free: 11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.07745, allocations: 35.7 kB / 427.8 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.07764, allocations: 111.2 kB / 427.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.07796, allocations: 119.8 kB / 428.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003726/0.07834, allocations: 0.6555 MB / 428.7 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002673/0.07861, allocations: 288.9 kB / 429 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.07879, allocations: 223.4 kB / 429.2 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003029/0.0791, allocations: 362.9 kB / 429.6 MB, free: 9.227 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.562e-05/0.07918, allocations: 40 kB / 429.6 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.07931, allocations: 71.91 kB / 429.7 MB, free: 9.117 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.07942, allocations: 155.6 kB / 429.8 MB, free: 8.965 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.0796, allocations: 242.9 kB / 430.1 MB, free: 8.727 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.07998, allocations: 0.627 MB / 430.7 MB, free: 8.098 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.07999, allocations: 0 / 430.7 MB, free: 8.098 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.08, allocations: 0 / 430.7 MB, free: 8.098 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.08001, allocations: 0 / 430.7 MB, free: 8.098 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001369/0.08138, allocations: 0.7834 MB / 431.5 MB, free: 7.262 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.796e-05/0.08142, allocations: 8.031 kB / 431.5 MB, free: 7.254 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.465e-05/0.08151, allocations: 40.47 kB / 431.5 MB, free: 7.215 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.08184, allocations: 343.4 kB / 431.9 MB, free: 6.836 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.08187, allocations: 21.03 kB / 431.9 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.475e-05/0.08194, allocations: 44.27 kB / 431.9 MB, free: 6.773 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006482/0.08259, allocations: 478.1 kB / 432.4 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.08262, allocations: 4 kB / 432.4 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.217e-05/0.08266, allocations: 12 kB / 432.4 MB, free: 6.285 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.08268, allocations: 15.92 kB / 432.4 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000731/0.08341, allocations: 0.5257 MB / 432.9 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.08547, allocations: 1.303 MB / 434.2 MB, free: 4.391 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005478/0.08603, allocations: 391.9 kB / 434.6 MB, free: 4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003591/0.0864, allocations: 241.4 kB / 434.9 MB, free: 3.762 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.08653, allocations: 93.41 kB / 435 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.318e-05/0.08656, allocations: 38.89 kB / 435 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001977/0.08676, allocations: 67.44 kB / 435.1 MB, free: 3.539 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.693e-06/0.08677, allocations: 0 / 435.1 MB, free: 3.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001023/0.0878, allocations: 0.6579 MB / 435.7 MB, free: 2.875 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/0.08783, allocations: 59.41 kB / 435.8 MB, free: 2.805 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.08808, allocations: 348.4 kB / 436.1 MB, free: 2.449 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.08811, allocations: 29.7 kB / 436.1 MB, free: 2.414 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.369e-05/0.08819, allocations: 208 kB / 436.3 MB, free: 2.207 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/0.08828, allocations: 149.8 kB / 436.5 MB, free: 2.059 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.08843, allocations: 114.1 kB / 436.6 MB, free: 1.941 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.329e-05/0.08849, allocations: 346.8 kB / 436.9 MB, free: 1.594 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.08883, allocations: 233 kB / 437.2 MB, free: 1.367 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.08921, allocations: 353.1 kB / 437.5 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006827/0.0899, allocations: 0.5779 MB / 438.1 MB, free: 372 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.08991, allocations: 4 kB / 438.1 MB, free: 368 kB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001007/0.09093, allocations: 0.6821 MB / 438.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.09095, allocations: 14.44 kB / 438.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.09097, allocations: 0 / 438.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.09099, allocations: 8 kB / 438.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.09216, allocations: 231.7 kB / 439 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.09218, allocations: 7.984 kB / 439 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.09256, allocations: 35.91 kB / 439.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.895e-05/0.09262, allocations: 23.98 kB / 439.1 MB, free: 15.36 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (70): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.0928, allocations: 173.7 kB / 439.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.802e-05/0.09289, allocations: 47.45 kB / 439.3 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.09394, allocations: 0.5783 MB / 439.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.09396, allocations: 4 kB / 439.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.09397, allocations: 4 kB / 439.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.09398, allocations: 0 / 439.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.0956, allocations: 1.162 MB / 441.1 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.09562, allocations: 4 kB / 441.1 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.09666, allocations: 191.7 kB / 441.2 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.09667, allocations: 12 kB / 441.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/0.09672, allocations: 8 kB / 441.3 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.09673, allocations: 7.938 kB / 441.3 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.09674, allocations: 3.984 kB / 441.3 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009213/0.106, allocations: 4.512 MB / 445.8 MB, free: 8.453 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.1061, allocations: 116.6 kB / 445.9 MB, free: 8.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.824e-05/0.1062, allocations: 15.94 kB / 445.9 MB, free: 8.305 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.1065, allocations: 19.97 kB / 445.9 MB, free: 8.285 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.92e-05/0.1067, allocations: 36.38 kB / 446 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.1067, allocations: 12 kB / 446 MB, free: 8.238 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002412/0.1069, allocations: 243 kB / 446.2 MB, free: 8.004 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.107, allocations: 4 kB / 446.2 MB, free: 8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006095/0.1076, allocations: 191.9 kB / 446.4 MB, free: 7.812 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (str1.T[1],str1.T[2],str1.T[3],str1.T[4],str1.T[5],str2.T[1],str2.T[2],str2.T[3],str2.T[4],str2.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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002242/0.1078, allocations: 115.2 kB / 446.5 MB, free: 7.688 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.1089, allocations: 0.5678 MB / 447.1 MB, free: 7.121 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1089, allocations: 0 / 447.1 MB, free: 7.121 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000398/0.1093, allocations: 263.1 kB / 447.4 MB, free: 6.863 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005067/0.1098, allocations: 93.38 kB / 447.4 MB, free: 6.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.1131, allocations: 2.021 MB / 449.5 MB, free: 4.703 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.1134, allocations: 0.8316 MB / 450.3 MB, free: 3.844 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004782/0.1139, allocations: 135.5 kB / 450.4 MB, free: 3.711 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.1142, allocations: 51.41 kB / 450.5 MB, free: 3.66 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1142, allocations: 3.938 kB / 450.5 MB, free: 3.656 MB / 314.7 MB Notification: Performance of Templates: time 0.01217/0.1264, allocations: 8.516 MB / 459 MB, free: 11.14 MB / 330.7 MB make -j1 -f AES_AES.Devel_test_models.Test_liquid_circuit_006.makefile (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_006.sim & ./AES_AES.Devel_test_models.Test_liquid_circuit_006 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe 2>&1)