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 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_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.09255/0.09255, allocations: 21.6 MB / 37.4 MB, free: 0.7656 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.001071/0.001071, allocations: 188.5 kB / 43.63 MB, free: 3.574 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.342/1.342, allocations: 205.1 MB / 254.8 MB, free: 14.28 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.001057/0.001057, allocations: 102.2 kB / 307.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 60.2 kB / 370.3 MB, free: 60.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09836/0.09944, allocations: 51.97 MB / 422.2 MB, free: 16.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_TITO_rational_zeroInit): time 0.002324/0.1018, allocations: 1.277 MB / 423.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.1032, allocations: 1.386 MB / 424.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.1033, allocations: 4 kB / 424.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.1036, allocations: 63.69 kB / 425 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.1038, allocations: 83.66 kB / 425 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.1041, allocations: 147.8 kB / 425.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003701/0.1045, allocations: 495.2 kB / 425.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.1046, allocations: 64.91 kB / 425.7 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.1048, allocations: 159.3 kB / 425.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.105, allocations: 175.3 kB / 426.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.993e-05/0.105, allocations: 8 kB / 426.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.928e-05/0.1051, allocations: 12 kB / 426.1 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.688e-05/0.1052, allocations: 83.72 kB / 426.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.419e-05/0.1053, allocations: 111.3 kB / 426.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.1055, allocations: 291 kB / 426.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1055, allocations: 4 kB / 426.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1055, allocations: 0 / 426.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1055, allocations: 0 / 426.6 MB, free: 12.21 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001566/0.1071, allocations: 0.7129 MB / 427.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1071, allocations: 12.03 kB / 427.3 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.958e-05/0.1072, allocations: 28.56 kB / 427.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007965/0.108, allocations: 435.2 kB / 427.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.108, allocations: 12.61 kB / 427.8 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.1081, allocations: 12.38 kB / 427.8 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.1083, allocations: 163.6 kB / 427.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1083, allocations: 0 / 427.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.1084, allocations: 4 kB / 427.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1084, allocations: 7.938 kB / 427.9 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.1087, allocations: 189.5 kB / 428.1 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009012/0.1096, allocations: 0.6683 MB / 428.8 MB, free: 9.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.1099, allocations: 250.7 kB / 429 MB, free: 9.586 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.1101, allocations: 88.83 kB / 429.1 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.1101, allocations: 3.938 kB / 429.1 MB, free: 9.492 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.1101, allocations: 42.55 kB / 429.2 MB, free: 9.441 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.183e-06/0.1101, allocations: 0 / 429.2 MB, free: 9.441 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004879/0.1106, allocations: 310.4 kB / 429.5 MB, free: 9.133 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.845e-05/0.1106, allocations: 51.41 kB / 429.5 MB, free: 9.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007256/0.1114, allocations: 442.8 kB / 430 MB, free: 8.629 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.1114, allocations: 29.7 kB / 430 MB, free: 8.594 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.712e-05/0.1115, allocations: 156.3 kB / 430.1 MB, free: 8.438 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.1115, allocations: 59.19 kB / 430.2 MB, free: 8.379 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/0.1116, allocations: 33.7 kB / 430.2 MB, free: 8.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.498e-05/0.1116, allocations: 338.8 kB / 430.6 MB, free: 8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.1118, allocations: 87.95 kB / 430.6 MB, free: 7.914 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.1119, allocations: 87.95 kB / 430.7 MB, free: 7.828 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.1122, allocations: 201 kB / 430.9 MB, free: 7.629 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1122, allocations: 0 / 430.9 MB, free: 7.629 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003243/0.1125, allocations: 253.2 kB / 431.2 MB, free: 7.375 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1125, allocations: 11.98 kB / 431.2 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1125, allocations: 3.984 kB / 431.2 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1125, allocations: 3.938 kB / 431.2 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.1129, allocations: 59.91 kB / 431.3 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1129, allocations: 4 kB / 431.3 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.1132, allocations: 51.83 kB / 431.3 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1132, allocations: 4 kB / 431.3 MB, free: 7.238 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.949e-05/0.1133, allocations: 153.8 kB / 431.5 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.1133, allocations: 23.72 kB / 431.5 MB, free: 7.055 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.043e-05/0.1134, allocations: 42.23 kB / 431.5 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1134, allocations: 4 kB / 431.5 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1134, allocations: 0 / 431.5 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1134, allocations: 3.984 kB / 431.5 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.1137, allocations: 349.3 kB / 431.9 MB, free: 6.613 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1137, allocations: 0 / 431.9 MB, free: 6.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.1139, allocations: 31.92 kB / 431.9 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1139, allocations: 4 kB / 431.9 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.853e-05/0.1139, allocations: 11.94 kB / 431.9 MB, free: 6.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1139, allocations: 0 / 431.9 MB, free: 6.566 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.114, allocations: 7.875 kB / 431.9 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.1159, allocations: 1.946 MB / 433.9 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.273e-05/0.116, allocations: 108.9 kB / 434 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.116, allocations: 8 kB / 434 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.1164, allocations: 55.92 kB / 434 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.1165, allocations: 7.984 kB / 434.1 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.1165, allocations: 4 kB / 434.1 MB, free: 4.273 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006504/0.1172, allocations: 345.8 kB / 434.4 MB, free: 3.934 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1172, allocations: 0 / 434.4 MB, free: 3.934 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003308/0.1175, allocations: 55.84 kB / 434.4 MB, free: 3.879 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.187e-05/0.1176, allocations: 107.2 kB / 434.6 MB, free: 3.762 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003036/0.1179, allocations: 191.9 kB / 434.7 MB, free: 3.574 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1179, allocations: 0 / 434.7 MB, free: 3.574 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.1181, allocations: 99.89 kB / 434.8 MB, free: 3.477 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.1184, allocations: 60.22 kB / 434.9 MB, free: 3.418 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.1197, allocations: 0.878 MB / 435.8 MB, free: 2.508 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.1199, allocations: 0.795 MB / 436.6 MB, free: 1.688 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001317/0.12, allocations: 54.25 kB / 436.6 MB, free: 1.633 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.94e-05/0.1201, allocations: 23.44 kB / 436.6 MB, free: 1.609 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1201, allocations: 0 / 436.6 MB, free: 1.609 MB / 298.7 MB Notification: Performance of Templates: time 0.005198/0.1253, allocations: 2.945 MB / 439.6 MB, free: 14.66 MB / 314.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)