Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SOPDT_overdamped.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_SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SOPDT_overdamped") translateModel(AES.Devel_test_models.Test_SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SOPDT_overdamped") [/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.09073/0.09073, allocations: 21.61 MB / 37.4 MB, free: 0.75 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.001222/0.001222, allocations: 188.4 kB / 43.63 MB, free: 3.566 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.32/1.32, allocations: 205.1 MB / 254.8 MB, free: 14.27 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.0009906/0.0009909, allocations: 106.2 kB / 307.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 52.69 kB / 370.3 MB, free: 60.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1022, allocations: 51.97 MB / 422.2 MB, free: 16.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.002596/0.1048, allocations: 1.764 MB / 424 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008476/0.1057, allocations: 0.6203 MB / 424.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.165e-05/0.1058, allocations: 4 kB / 424.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.1061, allocations: 39.83 kB / 424.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.1063, allocations: 51.75 kB / 424.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.1065, allocations: 83.91 kB / 424.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.1068, allocations: 279.4 kB / 425.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1069, allocations: 37.53 kB / 425.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.107, allocations: 91.67 kB / 425.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.1072, allocations: 115.6 kB / 425.3 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.1072, allocations: 8 kB / 425.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.361e-05/0.1072, allocations: 8 kB / 425.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.118e-05/0.1073, allocations: 71.72 kB / 425.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.695e-05/0.1074, allocations: 75.47 kB / 425.5 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.1076, allocations: 207.4 kB / 425.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1076, allocations: 3.984 kB / 425.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1076, allocations: 0 / 425.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.1076, allocations: 0 / 425.7 MB, free: 13.11 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001201/0.1088, allocations: 0.5845 MB / 426.3 MB, free: 12.47 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1088, allocations: 8.031 kB / 426.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.1e-05/0.1089, allocations: 20.75 kB / 426.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005644/0.1095, allocations: 331.6 kB / 426.6 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.1095, allocations: 8.562 kB / 426.6 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.1095, allocations: 16.36 kB / 426.6 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.1098, allocations: 145.4 kB / 426.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1098, allocations: 0 / 426.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.1098, allocations: 4 kB / 426.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1098, allocations: 4 kB / 426.8 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.11, allocations: 127.8 kB / 426.9 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007625/0.1108, allocations: 0.5786 MB / 427.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.111, allocations: 154.1 kB / 427.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.1111, allocations: 81.06 kB / 427.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.1112, allocations: 7.984 kB / 427.7 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.1112, allocations: 34.56 kB / 427.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.1112, allocations: 4 kB / 427.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004538/0.1116, allocations: 257.3 kB / 428 MB, free: 10.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.1117, allocations: 55.41 kB / 428.1 MB, free: 10.53 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005004/0.1122, allocations: 299.1 kB / 428.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.1122, allocations: 29.7 kB / 428.4 MB, free: 10.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/0.1123, allocations: 128 kB / 428.5 MB, free: 10.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.1123, allocations: 51.28 kB / 428.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.25e-05/0.1124, allocations: 33.72 kB / 428.6 MB, free: 9.977 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.205e-05/0.1125, allocations: 334.8 kB / 428.9 MB, free: 9.641 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.1126, allocations: 79.86 kB / 429 MB, free: 9.562 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.802e-05/0.1127, allocations: 67.97 kB / 429.1 MB, free: 9.496 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.1129, allocations: 179 kB / 429.2 MB, free: 9.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1129, allocations: 0 / 429.2 MB, free: 9.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002659/0.1132, allocations: 221.3 kB / 429.5 MB, free: 9.098 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1132, allocations: 13.86 kB / 429.5 MB, free: 9.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1132, allocations: 0 / 429.5 MB, free: 9.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1133, allocations: 4 kB / 429.5 MB, free: 9.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.1136, allocations: 47.97 kB / 429.5 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1136, allocations: 0 / 429.5 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.1138, allocations: 43.8 kB / 429.6 MB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.1139, allocations: 4 kB / 429.6 MB, free: 8.988 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 (17): * Single equations (assignments): 17 * 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 9.141e-05/0.114, allocations: 145.7 kB / 429.7 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.114, allocations: 15.81 kB / 429.7 MB, free: 8.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.163e-05/0.1141, allocations: 29.53 kB / 429.8 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1141, allocations: 3.984 kB / 429.8 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1141, allocations: 0 / 429.8 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1141, allocations: 7.984 kB / 429.8 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.1143, allocations: 313.3 kB / 430.1 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1143, allocations: 0 / 430.1 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.1145, allocations: 23.98 kB / 430.1 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1145, allocations: 0 / 430.1 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.1145, allocations: 11.98 kB / 430.1 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1146, allocations: 3.938 kB / 430.1 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1146, allocations: 0 / 430.1 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.1162, allocations: 1.746 MB / 431.9 MB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.1163, allocations: 104.8 kB / 432 MB, free: 6.379 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.1163, allocations: 8.031 kB / 432 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.1166, allocations: 32.02 kB / 432 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/0.1167, allocations: 23.92 kB / 432 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.1167, allocations: 0 / 432 MB, free: 6.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000421/0.1171, allocations: 232.5 kB / 432.3 MB, free: 6.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1172, allocations: 4 kB / 432.3 MB, free: 6.086 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003131/0.1175, allocations: 40 kB / 432.3 MB, free: 6.047 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.Pr.x_scaled[1],P1.Pr.x_scaled[2],P2.Pr.x_scaled[1],P2.Pr.x_scaled[2]) * 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 (13): * Single equations (assignments): 13 * 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 0.0001051/0.1176, allocations: 95.25 kB / 432.4 MB, free: 5.941 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002732/0.1179, allocations: 171.8 kB / 432.6 MB, free: 5.773 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1179, allocations: 0 / 432.6 MB, free: 5.773 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.118, allocations: 87.89 kB / 432.6 MB, free: 5.688 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.1183, allocations: 25.5 kB / 432.7 MB, free: 5.664 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007326/0.1191, allocations: 0.6426 MB / 433.3 MB, free: 4.984 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.1192, allocations: 0.7478 MB / 434.1 MB, free: 4.211 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.1194, allocations: 45.52 kB / 434.1 MB, free: 4.168 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.926e-05/0.1194, allocations: 19.44 kB / 434.1 MB, free: 4.148 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1194, allocations: 0 / 434.1 MB, free: 4.148 MB / 298.7 MB Notification: Performance of Templates: time 0.004373/0.1238, allocations: 2.345 MB / 436.5 MB, free: 1.805 MB / 298.7 MB make -j1 -f AES_AES.Devel_test_models.Test_SOPDT_overdamped.makefile (rm -f AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; mkfifo AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe >> ../files/AES_AES.Devel_test_models.Test_SOPDT_overdamped.sim & ./AES_AES.Devel_test_models.Test_SOPDT_overdamped -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe 2>&1)