Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 118.9 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00209/0.00209, allocations: 211.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1025/0.1025, allocations: 22.93 MB / 332.5 MB, free: 2.629 MB / 254.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.HeatPump_case_001a,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001a",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.HeatPump_case_001a,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001a",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 67.39 kB / 467.4 MB, free: 31.83 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1188, allocations: 59.27 MB / 0.5144 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.004063/0.1229, allocations: 2.232 MB / 0.5166 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004106/0.1233, allocations: 179.3 kB / 0.5167 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.243e-05/0.1234, allocations: 8 kB / 0.5167 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.936e-05/0.1234, allocations: 23.72 kB / 0.5168 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.1236, allocations: 63.41 kB / 0.5168 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.1238, allocations: 47.94 kB / 0.5169 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.124, allocations: 246.8 kB / 0.5171 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002304/0.1243, allocations: 75.39 kB / 0.5172 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.1244, allocations: 83.78 kB / 0.5172 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.1246, allocations: 103.5 kB / 0.5173 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.213e-05/0.1246, allocations: 24 kB / 0.5174 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.88e-05/0.1247, allocations: 24 kB / 0.5174 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.684e-05/0.1247, allocations: 43.84 kB / 0.5174 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.1249, allocations: 119.5 kB / 0.5175 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.1252, allocations: 239 kB / 0.5178 GB, free: 9.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1252, allocations: 0 / 0.5178 GB, free: 9.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.175e-06/0.1252, allocations: 0 / 0.5178 GB, free: 9.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.1252, allocations: 0 / 0.5178 GB, free: 9.781 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.00085/0.1261, allocations: 499.1 kB / 0.5182 GB, free: 9.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.1261, allocations: 8.625 kB / 0.5183 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.013e-05/0.1262, allocations: 12.69 kB / 0.5183 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.252e-05/0.1262, allocations: 62.72 kB / 0.5183 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/0.1263, allocations: 24.8 kB / 0.5184 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.1265, allocations: 184.1 kB / 0.5185 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.1265, allocations: 20.94 kB / 0.5185 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.069e-05/0.1266, allocations: 20.38 kB / 0.5186 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.127, allocations: 213.2 kB / 0.5188 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.127, allocations: 0 / 0.5188 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.127, allocations: 11.94 kB / 0.5188 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.127, allocations: 4 kB / 0.5188 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002656/0.1273, allocations: 146.2 kB / 0.5189 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.1286, allocations: 0.9327 MB / 0.5198 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.1289, allocations: 154.6 kB / 0.52 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003512/0.1293, allocations: 128.8 kB / 0.5201 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.1293, allocations: 7.938 kB / 0.5201 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.1293, allocations: 30.56 kB / 0.5201 GB, free: 7.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.1293, allocations: 3.938 kB / 0.5201 GB, free: 7.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002181/0.1315, allocations: 0.6905 MB / 0.5208 GB, free: 6.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.1316, allocations: 59.34 kB / 0.5209 GB, free: 6.297 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.1317, allocations: 137.8 kB / 0.521 GB, free: 6.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.1317, allocations: 29.7 kB / 0.521 GB, free: 6.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1318, allocations: 148.2 kB / 0.5212 GB, free: 5.969 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.587e-05/0.1319, allocations: 71.38 kB / 0.5212 GB, free: 5.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.757e-05/0.132, allocations: 37.72 kB / 0.5213 GB, free: 5.855 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1322, allocations: 326.8 kB / 0.5216 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.699e-05/0.1322, allocations: 43.97 kB / 0.5216 GB, free: 5.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1324, allocations: 83.34 kB / 0.5217 GB, free: 5.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.1326, allocations: 137.1 kB / 0.5218 GB, free: 5.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.1326, allocations: 4 kB / 0.5219 GB, free: 5.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000827/0.1334, allocations: 322.9 kB / 0.5222 GB, free: 4.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.1335, allocations: 4 kB / 0.5222 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.1335, allocations: 3.984 kB / 0.5222 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000762/0.1342, allocations: 189.5 kB / 0.5223 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.1344, allocations: 16 kB / 0.5224 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005507/0.1399, allocations: 3.844 MB / 0.5261 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.76e-05/0.14, allocations: 19.94 kB / 0.5261 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.1401, allocations: 12 kB / 0.5261 GB, free: 0.5508 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001833/0.1402, allocations: 130.6 kB / 0.5263 GB, free: 424 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.1403, allocations: 7.953 kB / 0.5263 GB, free: 416 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008528/0.1411, allocations: 318.4 kB / 0.5266 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1411, allocations: 0 / 0.5266 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.1411, allocations: 4 kB / 0.5266 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1411, allocations: 3.984 kB / 0.5266 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.1415, allocations: 269.5 kB / 0.5268 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1415, allocations: 0 / 0.5268 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.1417, allocations: 19.92 kB / 0.5269 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006626/0.1424, allocations: 185.8 kB / 0.527 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.1424, allocations: 0 / 0.527 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004607/0.147, allocations: 3.808 MB / 0.5308 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.147, allocations: 0 / 0.5308 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008165/0.1478, allocations: 400.8 kB / 0.5311 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.703e-05/0.1479, allocations: 89 kB / 0.5312 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.1479, allocations: 7.875 kB / 0.5312 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.148, allocations: 4 kB / 0.5312 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.148, allocations: 19.97 kB / 0.5313 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.148, allocations: 4 kB / 0.5313 GB, free: 10.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.27e-05/0.1481, allocations: 104.2 kB / 0.5314 GB, free: 10.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1481, allocations: 0 / 0.5314 GB, free: 10.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005902/0.1487, allocations: 79.84 kB / 0.5314 GB, free: 10.73 MB / 398.1 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00122/0.1499, allocations: 0.9268 MB / 0.5323 GB, free: 9.773 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007874/0.1507, allocations: 413.6 kB / 0.5327 GB, free: 9.344 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.1507, allocations: 4 kB / 0.5327 GB, free: 9.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005123/0.1512, allocations: 349.1 kB / 0.5331 GB, free: 8.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.1515, allocations: 14.19 kB / 0.5331 GB, free: 8.961 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.1532, allocations: 0.5289 MB / 0.5336 GB, free: 8.395 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.1537, allocations: 0.7397 MB / 0.5343 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.431e-05/0.1537, allocations: 1.438 kB / 0.5343 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.665e-05/0.1538, allocations: 47.42 kB / 0.5344 GB, free: 7.582 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1538, allocations: 4 kB / 0.5344 GB, free: 7.578 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/0.1839, allocations: 4.745 MB / 0.539 GB, free: 2.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.39, allocations: 6.406 kB / 0.539 GB, free: 2.977 MB / 398.1 MB " [Timeout remaining time 647] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001a_fmu --startTime=0 --stopTime=10000 --stepSize=1 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001a.fmu > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.504143322992604] Failed to read output from testmodel.py, exit status != 0: 12.544257518020459 12.572966751 12.442258968 Calling exit ...