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.00172/0.00172, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.00162/0.00162, allocations: 208.9 kB / 23.01 MB, free: 4.992 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1064/0.1064, allocations: 24.03 MB / 337.2 MB, free: 11.33 MB / 270.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) Running command: translateModel(AES.Coursework.ThermSys_component_models.HeatPump_case_001a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a") translateModel(AES.Coursework.ThermSys_component_models.HeatPump_case_001a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a") [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.002192/0.002192, allocations: 75.89 kB / 475.1 MB, free: 5.086 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4229, allocations: 59.57 MB / 0.5222 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.003244/0.4261, allocations: 2.122 MB / 0.5242 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003381/0.4264, allocations: 170 kB / 0.5244 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.845e-05/0.4265, allocations: 2.906 kB / 0.5244 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.629e-05/0.4266, allocations: 31.62 kB / 0.5244 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.4267, allocations: 55.59 kB / 0.5245 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.4269, allocations: 64.75 kB / 0.5245 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.4271, allocations: 238.3 kB / 0.5248 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.4273, allocations: 67.09 kB / 0.5248 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.068e-05/0.4274, allocations: 91.61 kB / 0.5249 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.4275, allocations: 90.39 kB / 0.525 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/0.4276, allocations: 20.88 kB / 0.525 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.193e-05/0.4276, allocations: 21.06 kB / 0.525 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.4276, allocations: 46.66 kB / 0.5251 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.693e-05/0.4277, allocations: 92.59 kB / 0.5252 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.428, allocations: 246.7 kB / 0.5254 GB, free: 8.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.428, allocations: 1.25 kB / 0.5254 GB, free: 8.844 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.428, allocations: 4 kB / 0.5254 GB, free: 8.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.428, allocations: 0 / 0.5254 GB, free: 8.84 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.0005654/0.4286, allocations: 422.4 kB / 0.5258 GB, free: 8.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.4286, allocations: 9.578 kB / 0.5258 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.4287, allocations: 24.89 kB / 0.5259 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.4288, allocations: 127.5 kB / 0.526 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.4288, allocations: 17.84 kB / 0.526 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.4288, allocations: 28.78 kB / 0.526 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.4292, allocations: 202.5 kB / 0.5262 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.4292, allocations: 192 / 0.5262 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.4292, allocations: 14.28 kB / 0.5262 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.4292, allocations: 5.406 kB / 0.5262 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002612/0.4295, allocations: 139.9 kB / 0.5264 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009568/0.4304, allocations: 0.5189 MB / 0.5269 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.4308, allocations: 160.9 kB / 0.527 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.4312, allocations: 126.8 kB / 0.5271 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.4312, allocations: 2.781 kB / 0.5272 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.4312, allocations: 37.64 kB / 0.5272 GB, free: 7.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.4312, allocations: 0 / 0.5272 GB, free: 7.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.00204/0.4332, allocations: 0.544 MB / 0.5277 GB, free: 7.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.4333, allocations: 53.53 kB / 0.5278 GB, free: 7.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.4334, allocations: 129 kB / 0.5279 GB, free: 7.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.4334, allocations: 30.77 kB / 0.5279 GB, free: 7.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.082e-05/0.4335, allocations: 150.7 kB / 0.5281 GB, free: 7.137 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.181e-05/0.4336, allocations: 77.44 kB / 0.5281 GB, free: 7.074 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/0.4336, allocations: 38.95 kB / 0.5282 GB, free: 7.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.989e-05/0.4337, allocations: 325.9 kB / 0.5285 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.72e-05/0.4338, allocations: 49.16 kB / 0.5285 GB, free: 6.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.4339, allocations: 80.61 kB / 0.5286 GB, free: 6.656 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.4341, allocations: 142.5 kB / 0.5287 GB, free: 6.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4341, allocations: 0 / 0.5287 GB, free: 6.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007649/0.4349, allocations: 331.8 kB / 0.5291 GB, free: 6.426 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4349, allocations: 5.438 kB / 0.5291 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.4349, allocations: 5.094 kB / 0.5291 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006937/0.4356, allocations: 179.7 kB / 0.5292 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.4357, allocations: 19.03 kB / 0.5293 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003895/0.4396, allocations: 3.552 MB / 0.5327 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.151e-05/0.4397, allocations: 15.48 kB / 0.5327 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.4397, allocations: 11.41 kB / 0.5328 GB, free: 3.277 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.0001204/0.4398, allocations: 129.7 kB / 0.5329 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.4399, allocations: 17.5 kB / 0.5329 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007521/0.4406, allocations: 311.6 kB / 0.5332 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.4406, allocations: 3.266 kB / 0.5332 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.4406, allocations: 0 / 0.5332 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4406, allocations: 9.594 kB / 0.5332 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.4408, allocations: 184.8 kB / 0.5334 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4408, allocations: 4.844 kB / 0.5334 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.371e-05/0.4409, allocations: 13.33 kB / 0.5334 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006609/0.4416, allocations: 177.9 kB / 0.5336 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.4416, allocations: 1.656 kB / 0.5336 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003448/0.445, allocations: 3.535 MB / 0.537 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.445, allocations: 0 / 0.537 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008259/0.4459, allocations: 394.3 kB / 0.5374 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/0.4459, allocations: 12.47 kB / 0.5374 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.4459, allocations: 7.297 kB / 0.5374 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.44e-05/0.446, allocations: 3.938 kB / 0.5374 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.446, allocations: 18.91 kB / 0.5374 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.446, allocations: 3.344 kB / 0.5374 GB, free: 15.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.637e-05/0.4461, allocations: 103.6 kB / 0.5375 GB, free: 15.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4461, allocations: 0 / 0.5375 GB, free: 15.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005569/0.4467, allocations: 77.94 kB / 0.5376 GB, free: 15.36 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.0002035/0.4469, allocations: 106.3 kB / 0.5377 GB, free: 15.26 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007288/0.4476, allocations: 408.4 kB / 0.5381 GB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4476, allocations: 0 / 0.5381 GB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005403/0.4482, allocations: 356.9 kB / 0.5384 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.4484, allocations: 14.47 kB / 0.5385 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.4499, allocations: 496.9 kB / 0.5389 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.45, allocations: 124.5 kB / 0.5391 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.601e-05/0.4501, allocations: 14.89 kB / 0.5391 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.4501, allocations: 10.47 kB / 0.5391 GB, free: 14.34 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4501, allocations: 0 / 0.5391 GB, free: 14.34 MB / 398.1 MB Notification: Performance of Templates: time 0.008037/0.4582, allocations: 2.908 MB / 0.5419 GB, free: 14.04 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.makefile [Timeout 660] (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 & ./AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.357739143073559] Failed to read output from testmodel.py, exit status != 0: 0.4683189857751131 0.483145589 0.051927567 Calling exit ...