Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HP_001.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_HP_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HP_001") translateModel(AES.Devel_test_models.Test_HP_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HP_001") [/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.0963/0.0963, allocations: 21.61 MB / 36.56 MB, free: 1.09 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 183.1 kB / 42.83 MB, free: 3.785 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 223.2 MB / 272.1 MB, free: 1.387 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008969/0.0008968, allocations: 100.3 kB / 328.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002632/0.0002633, allocations: 16 kB / 397 MB, free: 46.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07998/0.08026, allocations: 55.81 MB / 452.9 MB, free: 6.625 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2676/0.3479, allocations: 78.79 MB / 0.5192 GB, free: 13.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/0.3481, allocations: 67.23 kB / 0.5192 GB, free: 13.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002378/0.3505, allocations: 1.227 MB / 0.5204 GB, free: 13 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3505, allocations: 0 / 0.5204 GB, free: 13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.3505, allocations: 3.875 kB / 0.5205 GB, free: 13 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0002963/0.3508, allocations: 356 kB / 0.5208 GB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.3509, allocations: 7.531 kB / 0.5208 GB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.3509, allocations: 11.53 kB / 0.5208 GB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.27e-05/0.351, allocations: 164.5 kB / 0.521 GB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.351, allocations: 7.188 kB / 0.521 GB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.3511, allocations: 14.56 kB / 0.521 GB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.3512, allocations: 90.64 kB / 0.5211 GB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3512, allocations: 4 kB / 0.5211 GB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3513, allocations: 4.859 kB / 0.5211 GB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3513, allocations: 7.328 kB / 0.5211 GB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.221e-05/0.3514, allocations: 47.48 kB / 0.5211 GB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.3519, allocations: 458.2 kB / 0.5216 GB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.352, allocations: 59.62 kB / 0.5216 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.3521, allocations: 2.625 kB / 0.5216 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.202e-05/0.3521, allocations: 30.56 kB / 0.5217 GB, free: 11.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.3521, allocations: 0 / 0.5217 GB, free: 11.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001732/0.3523, allocations: 70.88 kB / 0.5217 GB, free: 11.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.3523, allocations: 59.12 kB / 0.5218 GB, free: 11.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.438e-05/0.3524, allocations: 101.4 kB / 0.5219 GB, free: 11.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.3524, allocations: 29.08 kB / 0.5219 GB, free: 11.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.3524, allocations: 109.2 kB / 0.522 GB, free: 11.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.3524, allocations: 26.83 kB / 0.522 GB, free: 11.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-06/0.3525, allocations: 0 / 0.522 GB, free: 11.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.47e-05/0.3525, allocations: 317.4 kB / 0.5223 GB, free: 11.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.542e-05/0.3525, allocations: 18.11 kB / 0.5224 GB, free: 11.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.694e-05/0.3526, allocations: 39.03 kB / 0.5224 GB, free: 11.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.54e-05/0.3526, allocations: 21.22 kB / 0.5224 GB, free: 11.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3526, allocations: 0 / 0.5224 GB, free: 11.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.933e-05/0.3527, allocations: 83.06 kB / 0.5225 GB, free: 11.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3528, allocations: 3.906 kB / 0.5225 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3528, allocations: 0 / 0.5225 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3528, allocations: 3.75 kB / 0.5225 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.293e-05/0.3529, allocations: 14.31 kB / 0.5225 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3529, allocations: 11.91 kB / 0.5225 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.409e-05/0.3529, allocations: 7.844 kB / 0.5225 GB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.353, allocations: 3.969 kB / 0.5225 GB, free: 11.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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 6.204e-05/0.353, allocations: 122.9 kB / 0.5227 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.3531, allocations: 0 / 0.5227 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.3532, allocations: 75.22 kB / 0.5227 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3532, allocations: 3.906 kB / 0.5227 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3532, allocations: 4 kB / 0.5227 GB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3532, allocations: 2.719 kB / 0.5227 GB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.3534, allocations: 192 kB / 0.5229 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3534, allocations: 2.766 kB / 0.5229 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.156e-05/0.3535, allocations: 13.44 kB / 0.5229 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3535, allocations: 3.938 kB / 0.5229 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.3535, allocations: 3.188 kB / 0.5229 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.3535, allocations: 2.906 kB / 0.5229 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3535, allocations: 0 / 0.5229 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.3536, allocations: 164.8 kB / 0.5231 GB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.3536, allocations: 85.78 kB / 0.5232 GB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.3537, allocations: 4 kB / 0.5232 GB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.963e-05/0.3537, allocations: 0 / 0.5232 GB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.3537, allocations: 3.875 kB / 0.5232 GB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.3538, allocations: 0 / 0.5232 GB, free: 10.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.672e-05/0.3538, allocations: 96.55 kB / 0.5233 GB, free: 10.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3538, allocations: 0 / 0.5233 GB, free: 10.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002219/0.354, allocations: 19.09 kB / 0.5233 GB, free: 10.53 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * 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 7.403e-05/0.3541, allocations: 94.97 kB / 0.5234 GB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.3542, allocations: 51.25 kB / 0.5234 GB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3542, allocations: 0 / 0.5234 GB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.407e-05/0.3542, allocations: 21.52 kB / 0.5235 GB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.3544, allocations: 11.72 kB / 0.5235 GB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003063/0.3547, allocations: 198 kB / 0.5237 GB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.3549, allocations: 0.694 MB / 0.5243 GB, free: 9.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.301e-05/0.355, allocations: 10.89 kB / 0.5244 GB, free: 9.566 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.355, allocations: 7.438 kB / 0.5244 GB, free: 9.559 MB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.355, allocations: 0 / 0.5244 GB, free: 9.559 MB / 362.7 MB Notification: Performance of Templates: time 0.00205/0.3571, allocations: 453.6 kB / 0.5248 GB, free: 9.508 MB / 362.7 MB make -j1 -f AES_AES.Devel_test_models.Test_HP_001.makefile (rm -f AES_AES.Devel_test_models.Test_HP_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_HP_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HP_001.pipe >> ../files/AES_AES.Devel_test_models.Test_HP_001.sim & ./AES_AES.Devel_test_models.Test_HP_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_HP_001.pipe 2>&1)