Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.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_TITO_rational_zeroInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_TITO_rational_zeroInit") translateModel(AES.Devel_test_models.Test_TITO_rational_zeroInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_TITO_rational_zeroInit") [/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.09836/0.09836, allocations: 21.61 MB / 36.56 MB, free: 1.066 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.0009753/0.0009753, allocations: 179.4 kB / 42.82 MB, free: 3.789 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.253/1.253, allocations: 223.2 MB / 272.2 MB, free: 1.316 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.000799/0.000799, allocations: 106 kB / 328.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000276/0.0002761, allocations: 8 kB / 395 MB, free: 48.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08135/0.08164, allocations: 55.82 MB / 450.8 MB, free: 8.609 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2662/0.3478, allocations: 79.44 MB / 0.5179 GB, free: 12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.3481, allocations: 69.39 kB / 0.5179 GB, free: 12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01369/0.3618, allocations: 4.871 MB / 0.5227 GB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3618, allocations: 0 / 0.5227 GB, free: 11.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.336e-05/0.3619, allocations: 15.62 kB / 0.5227 GB, free: 11.45 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001133/0.363, allocations: 0.6426 MB / 0.5233 GB, free: 10.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.363, allocations: 11.72 kB / 0.5233 GB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.548e-05/0.3631, allocations: 28.91 kB / 0.5234 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000831/0.3639, allocations: 447.4 kB / 0.5238 GB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.364, allocations: 7.016 kB / 0.5238 GB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.364, allocations: 22.5 kB / 0.5238 GB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.3643, allocations: 157.8 kB / 0.524 GB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3643, allocations: 0 / 0.524 GB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.3643, allocations: 8.125 kB / 0.524 GB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3643, allocations: 7.828 kB / 0.524 GB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.3646, allocations: 184 kB / 0.5242 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009818/0.3656, allocations: 0.6793 MB / 0.5248 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.3659, allocations: 255.6 kB / 0.5251 GB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.366, allocations: 0 / 0.5251 GB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.366, allocations: 34.25 kB / 0.5251 GB, free: 10.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.092e-06/0.366, allocations: 0 / 0.5251 GB, free: 10.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004766/0.3665, allocations: 315.4 kB / 0.5254 GB, free: 10.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.3665, allocations: 51.41 kB / 0.5254 GB, free: 10.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007199/0.3672, allocations: 407.1 kB / 0.5258 GB, free: 9.926 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.3673, allocations: 32.55 kB / 0.5259 GB, free: 9.895 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.3673, allocations: 155.6 kB / 0.526 GB, free: 9.793 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/0.3674, allocations: 61.81 kB / 0.5261 GB, free: 9.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-06/0.3674, allocations: 3.562 kB / 0.5261 GB, free: 9.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.894e-05/0.3675, allocations: 341.4 kB / 0.5264 GB, free: 9.426 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.3676, allocations: 90.58 kB / 0.5265 GB, free: 9.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.3677, allocations: 80.17 kB / 0.5266 GB, free: 9.398 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.3679, allocations: 94.69 kB / 0.5267 GB, free: 9.391 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3679, allocations: 7.734 kB / 0.5267 GB, free: 9.387 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003207/0.3682, allocations: 259.4 kB / 0.5269 GB, free: 9.309 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3682, allocations: 11.77 kB / 0.5269 GB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3682, allocations: 0 / 0.5269 GB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3682, allocations: 0 / 0.5269 GB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.3685, allocations: 54.41 kB / 0.527 GB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3686, allocations: 0 / 0.527 GB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/0.3689, allocations: 63.73 kB / 0.527 GB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.3689, allocations: 3.953 kB / 0.527 GB, free: 9.266 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 (20): * Single equations (assignments): 20 * 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.0001001/0.369, allocations: 157.5 kB / 0.5272 GB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.3691, allocations: 27.16 kB / 0.5272 GB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.63e-05/0.3691, allocations: 38.36 kB / 0.5273 GB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3691, allocations: 3.969 kB / 0.5273 GB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3691, allocations: 0 / 0.5273 GB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3692, allocations: 7.984 kB / 0.5273 GB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.3694, allocations: 348.2 kB / 0.5276 GB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3695, allocations: 0 / 0.5276 GB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.3696, allocations: 27.2 kB / 0.5276 GB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3697, allocations: 4.812 kB / 0.5276 GB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.3697, allocations: 7.281 kB / 0.5276 GB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3697, allocations: 0 / 0.5276 GB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3697, allocations: 0 / 0.5276 GB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004769/0.3702, allocations: 455.1 kB / 0.5281 GB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.317e-05/0.3703, allocations: 111.7 kB / 0.5282 GB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.3703, allocations: 7.719 kB / 0.5282 GB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003508/0.3707, allocations: 47.42 kB / 0.5282 GB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.3707, allocations: 10.61 kB / 0.5282 GB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.3707, allocations: 7.875 kB / 0.5282 GB, free: 8.516 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006325/0.3714, allocations: 345.7 kB / 0.5286 GB, free: 8.371 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3714, allocations: 4 kB / 0.5286 GB, free: 8.367 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002547/0.3716, allocations: 43.84 kB / 0.5286 GB, free: 8.363 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P.P11.x_scaled[1],P.P12.x_scaled[1],P.P21.x_scaled[1],P.P22.x_scaled[1]) * 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 (16): * Single equations (assignments): 16 * 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 9.93e-05/0.3717, allocations: 114.5 kB / 0.5287 GB, free: 8.254 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003013/0.372, allocations: 199.2 kB / 0.5289 GB, free: 8.223 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3721, allocations: 0 / 0.5289 GB, free: 8.223 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.3722, allocations: 100 kB / 0.529 GB, free: 8.203 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.3725, allocations: 46.31 kB / 0.5291 GB, free: 8.188 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.3735, allocations: 0.6449 MB / 0.5297 GB, free: 7.812 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.3737, allocations: 0.7957 MB / 0.5305 GB, free: 7.066 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.3738, allocations: 44.02 kB / 0.5305 GB, free: 7.051 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.308e-05/0.3739, allocations: 30.92 kB / 0.5305 GB, free: 7.035 MB / 362.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3739, allocations: 0 / 0.5305 GB, free: 7.035 MB / 362.7 MB Notification: Performance of Templates: time 0.004474/0.3784, allocations: 2.486 MB / 0.533 GB, free: 5.848 MB / 362.7 MB make -j1 -f AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.makefile (rm -f AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe ; mkfifo AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe >> ../files/AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.sim & ./AES_AES.Devel_test_models.Test_TITO_rational_zeroInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe 2>&1)