Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.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.001557/0.001557, allocations: 107.5 kB / 16.45 MB, free: 6.453 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.001746/0.001746, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.623/1.623, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.1103/0.1103, allocations: 24.11 MB / 332.9 MB, free: 12.64 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_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001") translateModel(AES.Coursework.ThermSys_component_models.HeatPump_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001") [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.002284/0.002284, allocations: 71.84 kB / 468.3 MB, free: 8.582 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.421, allocations: 59.56 MB / 0.5155 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.003051/0.424, allocations: 1.705 MB / 0.5172 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002215/0.4242, allocations: 62.67 kB / 0.5173 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.213e-05/0.4243, allocations: 9.531 kB / 0.5173 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.251e-05/0.4244, allocations: 8.234 kB / 0.5173 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.4245, allocations: 20.89 kB / 0.5173 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.912e-05/0.4246, allocations: 15.03 kB / 0.5173 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.4247, allocations: 77.02 kB / 0.5174 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.4249, allocations: 34.25 kB / 0.5174 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.191e-05/0.4249, allocations: 26.64 kB / 0.5174 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.425, allocations: 37.64 kB / 0.5175 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.425, allocations: 8.938 kB / 0.5175 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.78e-05/0.425, allocations: 6.844 kB / 0.5175 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.546e-05/0.4251, allocations: 16.45 kB / 0.5175 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.624e-05/0.4251, allocations: 39.39 kB / 0.5176 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.4253, allocations: 87.92 kB / 0.5176 GB, free: 8.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4253, allocations: 0 / 0.5176 GB, free: 8.609 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4253, allocations: 1.031 kB / 0.5176 GB, free: 8.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.4253, allocations: 0.6094 kB / 0.5176 GB, free: 8.609 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004392/0.4257, allocations: 374.8 kB / 0.518 GB, free: 8.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.4258, allocations: 10.31 kB / 0.518 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.4258, allocations: 9.266 kB / 0.518 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.483e-05/0.4259, allocations: 168.5 kB / 0.5182 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.4259, allocations: 12.38 kB / 0.5182 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.4259, allocations: 14.88 kB / 0.5182 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.4261, allocations: 91.02 kB / 0.5183 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.4261, allocations: 0 / 0.5183 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.4261, allocations: 1.219 kB / 0.5183 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.4262, allocations: 2.062 kB / 0.5183 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.4263, allocations: 49.11 kB / 0.5183 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005724/0.4268, allocations: 458.2 kB / 0.5188 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.4269, allocations: 56.11 kB / 0.5188 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.642e-05/0.427, allocations: 22.23 kB / 0.5188 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.427, allocations: 5.516 kB / 0.5189 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.427, allocations: 32 kB / 0.5189 GB, free: 7.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.427, allocations: 0 / 0.5189 GB, free: 7.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002081/0.4272, allocations: 68.28 kB / 0.5189 GB, free: 7.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.4273, allocations: 61.27 kB / 0.519 GB, free: 7.297 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.622e-05/0.4273, allocations: 108.6 kB / 0.5191 GB, free: 7.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.4274, allocations: 26.95 kB / 0.5191 GB, free: 7.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.4274, allocations: 108.8 kB / 0.5192 GB, free: 7.059 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.4274, allocations: 19.3 kB / 0.5193 GB, free: 7.043 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.4275, allocations: 30 kB / 0.5193 GB, free: 7.016 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.874e-05/0.4275, allocations: 314.6 kB / 0.5196 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.326e-05/0.4276, allocations: 16.62 kB / 0.5196 GB, free: 6.695 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.368e-05/0.4276, allocations: 40.69 kB / 0.5196 GB, free: 6.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.034e-05/0.4277, allocations: 46.73 kB / 0.5197 GB, free: 6.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4277, allocations: 5.094 kB / 0.5197 GB, free: 6.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001238/0.4278, allocations: 89.62 kB / 0.5198 GB, free: 6.562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.4278, allocations: 6.172 kB / 0.5198 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.4278, allocations: 4.641 kB / 0.5198 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.4278, allocations: 2.219 kB / 0.5198 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.4279, allocations: 15.97 kB / 0.5198 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.428, allocations: 9.578 kB / 0.5198 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.84e-05/0.428, allocations: 7.25 kB / 0.5198 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.428, allocations: 6.375 kB / 0.5198 GB, free: 6.543 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.948e-05/0.4281, allocations: 115 kB / 0.5199 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.4281, allocations: 7.078 kB / 0.5199 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.4282, allocations: 87.08 kB / 0.52 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4283, allocations: 0.6094 kB / 0.52 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4283, allocations: 5.094 kB / 0.52 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4283, allocations: 0.7031 kB / 0.52 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.4284, allocations: 190.4 kB / 0.5202 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.4284, allocations: 0 / 0.5202 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.554e-05/0.4285, allocations: 14.56 kB / 0.5202 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4285, allocations: 1.062 kB / 0.5202 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.4285, allocations: 192 / 0.5202 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4285, allocations: 1.375 kB / 0.5202 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4285, allocations: 12.81 kB / 0.5202 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.4286, allocations: 168.7 kB / 0.5204 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.591e-05/0.4286, allocations: 79.92 kB / 0.5205 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.4287, allocations: 1.094 kB / 0.5205 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.687e-05/0.4287, allocations: 0.7969 kB / 0.5205 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.4287, allocations: 7.656 kB / 0.5205 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.4287, allocations: 2.219 kB / 0.5205 GB, free: 5.895 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.166e-05/0.4288, allocations: 89.42 kB / 0.5206 GB, free: 5.812 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4288, allocations: 0 / 0.5206 GB, free: 5.812 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.429, allocations: 21.14 kB / 0.5206 GB, free: 5.805 MB / 382.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 (7): * Single equations (assignments): 7 * 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 8.569e-05/0.4291, allocations: 99.41 kB / 0.5207 GB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001229/0.4292, allocations: 40.56 kB / 0.5207 GB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4292, allocations: 0 / 0.5207 GB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.083e-05/0.4292, allocations: 21.53 kB / 0.5208 GB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.4295, allocations: 7.766 kB / 0.5208 GB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.4299, allocations: 182.9 kB / 0.5209 GB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.43, allocations: 0.6908 MB / 0.5216 GB, free: 4.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.291e-05/0.4301, allocations: 4.375 kB / 0.5216 GB, free: 4.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.4301, allocations: 15.95 kB / 0.5216 GB, free: 4.828 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.4301, allocations: 0 / 0.5216 GB, free: 4.828 MB / 382.1 MB Notification: Performance of Templates: time 0.002959/0.4331, allocations: 0.4914 MB / 0.5221 GB, free: 4.754 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.264984183013439] Failed to read output from testmodel.py, exit status != 0: 0.44225519406609237 0.454039616 0.025796034000000002 Calling exit ...