Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002223/0.002223, allocations: 189.3 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 225.6 MB / 251 MB, free: 13.02 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.1016/0.1016, allocations: 22.71 MB / 329 MB, free: 2.348 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT") translateModel(AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 71.89 kB / 463.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1359, allocations: 58.06 MB / 0.509 GB, free: 4.426 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT): time 0.3346/0.4705, allocations: 22.93 MB / 0.5313 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.472, allocations: 0.683 MB / 0.532 GB, free: 7.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.4722, allocations: 2.781 kB / 0.532 GB, free: 7.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.4723, allocations: 41.64 kB / 0.5321 GB, free: 7.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002426/0.4726, allocations: 114.9 kB / 0.5322 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.473, allocations: 106.3 kB / 0.5323 GB, free: 7.129 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000425/0.4734, allocations: 413.2 kB / 0.5327 GB, free: 7.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.4737, allocations: 199.1 kB / 0.5328 GB, free: 7.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.474, allocations: 175.5 kB / 0.533 GB, free: 7.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/0.4743, allocations: 234.4 kB / 0.5332 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.569e-05/0.4743, allocations: 39.88 kB / 0.5333 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.329e-05/0.4744, allocations: 38.56 kB / 0.5333 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.4746, allocations: 125 kB / 0.5334 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.4747, allocations: 204 kB / 0.5336 GB, free: 6.906 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006528/0.4754, allocations: 453 kB / 0.5341 GB, free: 6.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4754, allocations: 0 / 0.5341 GB, free: 6.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4754, allocations: 0 / 0.5341 GB, free: 6.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.4754, allocations: 1.5 kB / 0.5341 GB, free: 6.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.001641/0.4771, allocations: 0.618 MB / 0.5347 GB, free: 6.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.4771, allocations: 10.02 kB / 0.5347 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.4772, allocations: 38.2 kB / 0.5347 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.4777, allocations: 243.1 kB / 0.5349 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.4777, allocations: 17.28 kB / 0.535 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.108e-05/0.4778, allocations: 23.62 kB / 0.535 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008474/0.4787, allocations: 350.2 kB / 0.5353 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.4787, allocations: 0 / 0.5353 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/0.4787, allocations: 11.23 kB / 0.5353 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.4787, allocations: 6.844 kB / 0.5353 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008219/0.4796, allocations: 331.7 kB / 0.5357 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002215/0.4818, allocations: 1.219 MB / 0.5368 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006007/0.4824, allocations: 273.1 kB / 0.5371 GB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004359/0.4828, allocations: 218.5 kB / 0.5373 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.4828, allocations: 10.83 kB / 0.5373 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.4829, allocations: 30.8 kB / 0.5373 GB, free: 5.488 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.483e-06/0.4829, allocations: 0 / 0.5373 GB, free: 5.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.00455/0.4874, allocations: 1.521 MB / 0.5388 GB, free: 4.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.4874, allocations: 58.81 kB / 0.5389 GB, free: 4.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.4877, allocations: 255.1 kB / 0.5391 GB, free: 4.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.4877, allocations: 37.52 kB / 0.5392 GB, free: 4.586 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.496e-05/0.4878, allocations: 165.4 kB / 0.5393 GB, free: 4.445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.719e-05/0.4879, allocations: 114 kB / 0.5394 GB, free: 4.355 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.488, allocations: 57.17 kB / 0.5395 GB, free: 4.324 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.83e-05/0.4881, allocations: 338.9 kB / 0.5398 GB, free: 4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/0.4886, allocations: 191.6 kB / 0.54 GB, free: 3.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004888/0.4891, allocations: 226.1 kB / 0.5402 GB, free: 3.852 MB / 382.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.tube.w = 0.0 (if time < w.startTime then 0.0 else if time < w.startTime + w.duration then w.height * w.duration / w.duration ^ 2.0 else 0.0 = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/0.4909, allocations: 0.5733 MB / 0.5408 GB, free: 3.672 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4909, allocations: 0 / 0.5408 GB, free: 3.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001973/0.4928, allocations: 0.6364 MB / 0.5414 GB, free: 3.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.4929, allocations: 8.25 kB / 0.5414 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.4929, allocations: 2.094 kB / 0.5414 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008394/0.4937, allocations: 175.2 kB / 0.5416 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006625/0.4944, allocations: 98.67 kB / 0.5417 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006237/0.5006, allocations: 7.08 MB / 0.5486 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000575/0.5012, allocations: 30.16 kB / 0.5486 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.5012, allocations: 13.39 kB / 0.5486 GB, free: 12.44 MB / 398.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.tube.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003213/0.5016, allocations: 164.4 kB / 0.5488 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.288e-05/0.5016, allocations: 27.91 kB / 0.5488 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/0.5034, allocations: 0.6072 MB / 0.5494 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.5034, allocations: 0 / 0.5494 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.5034, allocations: 4 kB / 0.5494 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.5034, allocations: 5.266 kB / 0.5494 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008052/0.5042, allocations: 407.7 kB / 0.5498 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.5042, allocations: 0 / 0.5498 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006755/0.5049, allocations: 104.8 kB / 0.5499 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006261/0.5055, allocations: 142.6 kB / 0.55 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/0.5056, allocations: 9.969 kB / 0.55 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006352/0.5119, allocations: 6.693 MB / 0.5566 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5119, allocations: 0 / 0.5566 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/0.5144, allocations: 0.8987 MB / 0.5575 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.5145, allocations: 34.3 kB / 0.5575 GB, free: 3.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.069e-05/0.5146, allocations: 12.64 kB / 0.5575 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003629/0.5149, allocations: 25.98 kB / 0.5575 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.5151, allocations: 32.59 kB / 0.5576 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.5151, allocations: 9.359 kB / 0.5576 GB, free: 3.211 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002358/0.5154, allocations: 190.9 kB / 0.5577 GB, free: 3.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5154, allocations: 4 kB / 0.5577 GB, free: 3.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006092/0.516, allocations: 112 kB / 0.5579 GB, free: 2.93 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * 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 (25): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001807/0.5162, allocations: 105.4 kB / 0.558 GB, free: 2.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.5182, allocations: 1.006 MB / 0.5589 GB, free: 1.844 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5182, allocations: 0 / 0.5589 GB, free: 1.844 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.5194, allocations: 0.8012 MB / 0.5597 GB, free: 1.035 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.5198, allocations: 73.2 kB / 0.5598 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003772/0.5236, allocations: 1.289 MB / 0.561 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006421/0.5243, allocations: 0.7904 MB / 0.5618 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002331/0.5245, allocations: 50.86 kB / 0.5619 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.5246, allocations: 28.47 kB / 0.5619 GB, free: 14.99 MB / 414.1 MB Notification: Performance of SimCode: time 1.893e-06/0.5246, allocations: 0 / 0.5619 GB, free: 14.99 MB / 414.1 MB Notification: Performance of Templates: time 0.01397/0.5386, allocations: 6.624 MB / 0.5684 GB, free: 8.727 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.sim & ./AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.370242714881897] Failed to read output from testmodel.py, exit status != 0: 0.5491173462942243 0.563643777 0.08498810300000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f2578ad57b0>