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.001594/0.001594, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.002065/0.002065, allocations: 210.6 kB / 22.99 MB, free: 4.41 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1096/0.1096, allocations: 24.13 MB / 337.3 MB, free: 11.24 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld 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.002019/0.002019, allocations: 67.89 kB / 475.2 MB, free: 4.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3224, allocations: 59.61 MB / 0.5223 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.002897/0.3253, allocations: 2.11 MB / 0.5244 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003365/0.3256, allocations: 181.9 kB / 0.5246 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.405e-05/0.3257, allocations: 7.438 kB / 0.5246 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.345e-05/0.3257, allocations: 27.8 kB / 0.5246 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.3259, allocations: 58.95 kB / 0.5246 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.326, allocations: 49.33 kB / 0.5247 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.3263, allocations: 242.5 kB / 0.5249 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.3265, allocations: 74.95 kB / 0.525 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.508e-05/0.3265, allocations: 87.28 kB / 0.5251 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.3267, allocations: 101.7 kB / 0.5252 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.3267, allocations: 25.78 kB / 0.5252 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.539e-05/0.3268, allocations: 19.72 kB / 0.5252 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.477e-05/0.3268, allocations: 51.36 kB / 0.5253 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.159e-05/0.3269, allocations: 92.67 kB / 0.5254 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.3272, allocations: 239.9 kB / 0.5256 GB, free: 8.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3272, allocations: 0 / 0.5256 GB, free: 8.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3272, allocations: 0 / 0.5256 GB, free: 8.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.3272, allocations: 0 / 0.5256 GB, free: 8.754 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.000586/0.3278, allocations: 430.5 kB / 0.526 GB, free: 8.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3278, allocations: 10.42 kB / 0.526 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.262e-05/0.3279, allocations: 25.02 kB / 0.526 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.328, allocations: 134.8 kB / 0.5262 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.328, allocations: 18.19 kB / 0.5262 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.328, allocations: 23.62 kB / 0.5262 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.3284, allocations: 194.6 kB / 0.5264 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.3284, allocations: 192 / 0.5264 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.3284, allocations: 14.62 kB / 0.5264 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.3284, allocations: 10.78 kB / 0.5264 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.3287, allocations: 147.1 kB / 0.5265 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008699/0.3295, allocations: 0.519 MB / 0.5271 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.3299, allocations: 160 kB / 0.5272 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/0.3302, allocations: 127.4 kB / 0.5273 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.3302, allocations: 6.609 kB / 0.5273 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.227e-05/0.3302, allocations: 33.31 kB / 0.5274 GB, free: 7.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.222e-06/0.3302, allocations: 0 / 0.5274 GB, free: 7.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001957/0.3322, allocations: 0.5371 MB / 0.5279 GB, free: 7.379 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.3322, allocations: 54.33 kB / 0.5279 GB, free: 7.316 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.584e-05/0.3323, allocations: 129.1 kB / 0.5281 GB, free: 7.207 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.3323, allocations: 31.56 kB / 0.5281 GB, free: 7.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.3324, allocations: 146.5 kB / 0.5282 GB, free: 7.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.3324, allocations: 77.09 kB / 0.5283 GB, free: 6.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.626e-05/0.3325, allocations: 43.34 kB / 0.5283 GB, free: 6.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.66e-05/0.3325, allocations: 331.1 kB / 0.5287 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.41e-05/0.3326, allocations: 44.59 kB / 0.5287 GB, free: 6.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.112e-05/0.3327, allocations: 75.33 kB / 0.5288 GB, free: 6.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.3329, allocations: 137.2 kB / 0.5289 GB, free: 6.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3329, allocations: 5.094 kB / 0.5289 GB, free: 6.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007085/0.3336, allocations: 329.8 kB / 0.5292 GB, free: 6.336 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3336, allocations: 5.531 kB / 0.5292 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3336, allocations: 5.156 kB / 0.5292 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007178/0.3343, allocations: 183.9 kB / 0.5294 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.3344, allocations: 20.17 kB / 0.5294 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003617/0.338, allocations: 3.551 MB / 0.5329 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.428e-05/0.3381, allocations: 19.14 kB / 0.5329 GB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.3381, allocations: 5.531 kB / 0.5329 GB, free: 3.184 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 9.377e-05/0.3382, allocations: 135.7 kB / 0.5331 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.3383, allocations: 18.36 kB / 0.5331 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007625/0.339, allocations: 308 kB / 0.5334 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.339, allocations: 2.562 kB / 0.5334 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.339, allocations: 0 / 0.5334 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.339, allocations: 5.578 kB / 0.5334 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.3393, allocations: 184.6 kB / 0.5335 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3393, allocations: 1.516 kB / 0.5335 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.85e-05/0.3393, allocations: 12.45 kB / 0.5336 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006823/0.34, allocations: 183 kB / 0.5337 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.34, allocations: 9.312 kB / 0.5337 GB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00348/0.3435, allocations: 3.529 MB / 0.5372 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3435, allocations: 1.531 kB / 0.5372 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008219/0.3443, allocations: 397.2 kB / 0.5376 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.3444, allocations: 14.27 kB / 0.5376 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.3444, allocations: 5.25 kB / 0.5376 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.935e-05/0.3445, allocations: 9.828 kB / 0.5376 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.3445, allocations: 17.84 kB / 0.5376 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.3445, allocations: 3.969 kB / 0.5376 GB, free: 15.37 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.8e-05/0.3446, allocations: 102.1 kB / 0.5377 GB, free: 15.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3446, allocations: 3.938 kB / 0.5377 GB, free: 15.28 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005652/0.3452, allocations: 77.34 kB / 0.5378 GB, free: 15.26 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.0001402/0.3453, allocations: 103.4 kB / 0.5379 GB, free: 15.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007644/0.3461, allocations: 408.2 kB / 0.5383 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3461, allocations: 3.938 kB / 0.5383 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005364/0.3466, allocations: 356 kB / 0.5386 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.3469, allocations: 16.06 kB / 0.5386 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.3483, allocations: 0.5042 MB / 0.5391 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.3485, allocations: 134.2 kB / 0.5393 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.3485, allocations: 11.62 kB / 0.5393 GB, free: 14.22 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3485, allocations: 0 / 0.5393 GB, free: 14.22 MB / 398.1 MB Notification: Performance of Templates: time 0.006398/0.3549, allocations: 3.514 MB / 0.5427 GB, free: 13.75 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 -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: 7.634902257996146] Failed to read output from testmodel.py, exit status != 0: 0.36323283999809064 0.378377208 0.048058922000000004 Calling exit ...