Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SR01.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_SR01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SR01") translateModel(AES.Devel_test_models.Test_SR01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SR01") [/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.09303/0.09303, allocations: 21.61 MB / 36.56 MB, free: 1.059 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.0009235/0.0009235, allocations: 179.4 kB / 42.82 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.257/1.257, allocations: 223.2 MB / 272.1 MB, free: 1.391 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.0007971/0.0007971, allocations: 102.7 kB / 328.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 12 kB / 397 MB, free: 46.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09241/0.09277, allocations: 55.82 MB / 452.9 MB, free: 6.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.274/0.3668, allocations: 77.85 MB / 0.5183 GB, free: 13.13 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/0.3671, allocations: 66.48 kB / 0.5183 GB, free: 13.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001115/0.3682, allocations: 0.5159 MB / 0.5188 GB, free: 12.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3682, allocations: 0 / 0.5188 GB, free: 12.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3683, allocations: 0 / 0.5188 GB, free: 12.81 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002566/0.3685, allocations: 335.3 kB / 0.5192 GB, free: 12.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3686, allocations: 14.28 kB / 0.5192 GB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.3686, allocations: 3.906 kB / 0.5192 GB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.3687, allocations: 159.7 kB / 0.5193 GB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.3687, allocations: 3.5 kB / 0.5193 GB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.3687, allocations: 0 / 0.5193 GB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.341e-05/0.3688, allocations: 41.97 kB / 0.5194 GB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.3688, allocations: 0 / 0.5194 GB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.3689, allocations: 0 / 0.5194 GB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.3689, allocations: 5.188 kB / 0.5194 GB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.016e-05/0.3689, allocations: 17.5 kB / 0.5194 GB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.3692, allocations: 252.8 kB / 0.5196 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.702e-05/0.3693, allocations: 38.44 kB / 0.5197 GB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.3693, allocations: 4.953 kB / 0.5197 GB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.156e-05/0.3693, allocations: 30.56 kB / 0.5197 GB, free: 11.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3694, allocations: 4 kB / 0.5197 GB, free: 11.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001561/0.3695, allocations: 59.55 kB / 0.5198 GB, free: 11.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.3695, allocations: 55.02 kB / 0.5198 GB, free: 11.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.547e-05/0.3696, allocations: 97.81 kB / 0.5199 GB, free: 11.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.3696, allocations: 25.7 kB / 0.5199 GB, free: 11.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.636e-05/0.3697, allocations: 84.02 kB / 0.52 GB, free: 11.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.3697, allocations: 14.05 kB / 0.52 GB, free: 11.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.3697, allocations: 3.562 kB / 0.52 GB, free: 11.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.421e-05/0.3697, allocations: 314.8 kB / 0.5203 GB, free: 11.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.3698, allocations: 3.781 kB / 0.5203 GB, free: 11.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.137e-05/0.3698, allocations: 8.734 kB / 0.5203 GB, free: 11.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.144e-05/0.3698, allocations: 9.688 kB / 0.5204 GB, free: 11.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3698, allocations: 0.5625 kB / 0.5204 GB, free: 11.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.713e-05/0.3699, allocations: 46.73 kB / 0.5204 GB, free: 11.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.3699, allocations: 7.688 kB / 0.5204 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3699, allocations: 0 / 0.5204 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3699, allocations: 3.953 kB / 0.5204 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.797e-05/0.37, allocations: 5.641 kB / 0.5204 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.37, allocations: 9.062 kB / 0.5204 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.37, allocations: 0 / 0.5204 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.37, allocations: 3.938 kB / 0.5204 GB, free: 11.21 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 5.273e-05/0.3701, allocations: 111.9 kB / 0.5205 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.3701, allocations: 0 / 0.5205 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.3703, allocations: 79.14 kB / 0.5206 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.3703, allocations: 4 kB / 0.5206 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3703, allocations: 3.953 kB / 0.5206 GB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3703, allocations: 2 kB / 0.5206 GB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.3705, allocations: 162.4 kB / 0.5208 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3705, allocations: 0 / 0.5208 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.3705, allocations: 10.2 kB / 0.5208 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3705, allocations: 0 / 0.5208 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.3705, allocations: 3.844 kB / 0.5208 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3705, allocations: 2.188 kB / 0.5208 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3705, allocations: 0 / 0.5208 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.849e-05/0.3706, allocations: 158.2 kB / 0.5209 GB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.097e-05/0.3707, allocations: 78.31 kB / 0.521 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.3707, allocations: 0 / 0.521 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.347e-05/0.3708, allocations: 2.375 kB / 0.521 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.3708, allocations: 14.42 kB / 0.521 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.3708, allocations: 0 / 0.521 GB, free: 10.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.402e-05/0.3708, allocations: 86.45 kB / 0.5211 GB, free: 10.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3708, allocations: 0 / 0.5211 GB, free: 10.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001989/0.371, allocations: 15.25 kB / 0.5211 GB, free: 10.54 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 (5): * Single equations (assignments): 5 * 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 8.807e-05/0.3711, allocations: 93.39 kB / 0.5212 GB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.853e-05/0.3712, allocations: 19.16 kB / 0.5212 GB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3712, allocations: 0 / 0.5212 GB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.931e-05/0.3712, allocations: 21.83 kB / 0.5213 GB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.3715, allocations: 6.797 kB / 0.5213 GB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002183/0.3717, allocations: 116.5 kB / 0.5214 GB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.3718, allocations: 0.6825 MB / 0.522 GB, free: 9.625 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.03e-05/0.3719, allocations: 3.844 kB / 0.522 GB, free: 9.625 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.337e-05/0.372, allocations: 15.03 kB / 0.5221 GB, free: 9.617 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.372, allocations: 0 / 0.5221 GB, free: 9.617 MB / 362.7 MB Notification: Performance of Templates: time 0.002109/0.3741, allocations: 418.2 kB / 0.5225 GB, free: 9.578 MB / 362.7 MB make -j1 -f AES_AES.Devel_test_models.Test_SR01.makefile (rm -f AES_AES.Devel_test_models.Test_SR01.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01.pipe >> ../files/AES_AES.Devel_test_models.Test_SR01.sim & ./AES_AES.Devel_test_models.Test_SR01 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1)