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.1357/0.1357, allocations: 21.45 MB / 36.39 MB, free: 1.168 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.001128/0.001128, allocations: 183.1 kB / 42.62 MB, free: 4 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.514/1.514, allocations: 205.4 MB / 254.1 MB, free: 15.21 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.001007/0.001007, allocations: 94.84 kB / 307.8 MB, free: 11.09 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003254, allocations: 8.969 kB / 371.2 MB, free: 60.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1009, allocations: 52.96 MB / 424.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_TITO_rational_zeroInit): time 0.00124/0.1022, allocations: 0.8884 MB / 425.1 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.1037, allocations: 1.355 MB / 426.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.1039, allocations: 4 kB / 426.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.1042, allocations: 63.67 kB / 426.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.1045, allocations: 75.77 kB / 426.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.1047, allocations: 107.8 kB / 426.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003566/0.1051, allocations: 263.5 kB / 426.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.1053, allocations: 48.91 kB / 427 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.1055, allocations: 199.4 kB / 427.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.1058, allocations: 147.4 kB / 427.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.1058, allocations: 12 kB / 427.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.422e-05/0.1058, allocations: 8 kB / 427.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.531e-05/0.1059, allocations: 83.75 kB / 427.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.337e-05/0.106, allocations: 57.58 kB / 427.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.1062, allocations: 235.4 kB / 427.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1062, allocations: 0 / 427.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1062, allocations: 0 / 427.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1062, allocations: 0 / 427.7 MB, free: 11.53 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.001523/0.1077, allocations: 0.6778 MB / 428.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1078, allocations: 8.031 kB / 428.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.696e-05/0.1079, allocations: 27.62 kB / 428.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009246/0.1088, allocations: 434.2 kB / 428.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.1088, allocations: 8.234 kB / 428.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.1089, allocations: 16 kB / 428.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.1092, allocations: 159.5 kB / 429 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1092, allocations: 3.984 kB / 429 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.1092, allocations: 4 kB / 429 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1092, allocations: 4 kB / 429 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003044/0.1096, allocations: 189.4 kB / 429.2 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009987/0.1106, allocations: 0.6761 MB / 429.9 MB, free: 9.195 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.1109, allocations: 250.7 kB / 430.1 MB, free: 8.941 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.1109, allocations: 0 / 430.1 MB, free: 8.941 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.1109, allocations: 34.56 kB / 430.2 MB, free: 8.898 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.1109, allocations: 0 / 430.2 MB, free: 8.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004932/0.1114, allocations: 321.2 kB / 430.5 MB, free: 8.578 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.1115, allocations: 51.41 kB / 430.5 MB, free: 8.516 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007776/0.1123, allocations: 442.8 kB / 431 MB, free: 8.074 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.1123, allocations: 29.7 kB / 431 MB, free: 8.039 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.864e-05/0.1124, allocations: 156.4 kB / 431.1 MB, free: 7.883 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/0.1124, allocations: 55.17 kB / 431.2 MB, free: 7.828 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-06/0.1125, allocations: 0 / 431.2 MB, free: 7.828 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.778e-05/0.1125, allocations: 342.8 kB / 431.5 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.1127, allocations: 83.95 kB / 431.6 MB, free: 7.402 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.1128, allocations: 87.95 kB / 431.7 MB, free: 7.316 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.113, allocations: 104.2 kB / 431.8 MB, free: 7.215 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.113, allocations: 0 / 431.8 MB, free: 7.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003328/0.1134, allocations: 253.2 kB / 432 MB, free: 6.961 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1134, allocations: 4 kB / 432 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1134, allocations: 0 / 432 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.1134, allocations: 4 kB / 432 MB, free: 6.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.1137, allocations: 55.95 kB / 432.1 MB, free: 6.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1137, allocations: 4 kB / 432.1 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/0.1141, allocations: 55.78 kB / 432.2 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.1141, allocations: 7.938 kB / 432.2 MB, free: 6.832 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.1142, allocations: 157.8 kB / 432.3 MB, free: 6.668 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.1143, allocations: 27.67 kB / 432.3 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.024e-05/0.1143, allocations: 42.3 kB / 432.4 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1143, allocations: 0 / 432.4 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1144, allocations: 0 / 432.4 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1144, allocations: 0 / 432.4 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.1146, allocations: 357.3 kB / 432.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1146, allocations: 0 / 432.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.1148, allocations: 27.92 kB / 432.8 MB, free: 6.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1148, allocations: 7.953 kB / 432.8 MB, free: 6.164 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.1149, allocations: 4 kB / 432.8 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1149, allocations: 0 / 432.8 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1149, allocations: 8 kB / 432.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004729/0.1154, allocations: 443.5 kB / 433.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-05/0.1154, allocations: 116.8 kB / 433.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.1155, allocations: 3.953 kB / 433.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.1158, allocations: 59.86 kB / 433.4 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.1159, allocations: 11.98 kB / 433.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.1159, allocations: 0 / 433.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000647/0.1166, allocations: 349.8 kB / 433.7 MB, free: 5.152 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1166, allocations: 3.938 kB / 433.8 MB, free: 5.148 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002923/0.1169, allocations: 43.84 kB / 433.8 MB, free: 5.105 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 (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 0.0001107/0.117, allocations: 103 kB / 433.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003105/0.1173, allocations: 195.8 kB / 434.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1173, allocations: 4 kB / 434.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.1175, allocations: 104 kB / 434.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.1177, allocations: 36.42 kB / 434.2 MB, free: 4.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.1191, allocations: 0.7013 MB / 434.9 MB, free: 3.934 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.1193, allocations: 0.795 MB / 435.7 MB, free: 3.113 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.1194, allocations: 50.27 kB / 435.8 MB, free: 3.066 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.844e-05/0.1195, allocations: 23.44 kB / 435.8 MB, free: 3.043 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.1195, allocations: 0 / 435.8 MB, free: 3.043 MB / 298.7 MB Notification: Performance of Templates: time 0.004891/0.1244, allocations: 2.493 MB / 438.3 MB, free: 0.5469 MB / 298.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)