Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.HeatPump.Examples.TwoPointControlledHeatPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04011/0.04011, allocations: 9.128 MB / 28.99 MB, free: 0.8086 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0008244/0.0008244, allocations: 90.72 kB / 35.33 MB, free: 1.07 MB / 24.77 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.001183/0.001183, allocations: 163.6 kB / 38.73 MB, free: 2.504 MB / 24.77 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 0.9588/0.9588, allocations: 177.1 MB / 219.2 MB, free: 10.1 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004182/0.004182, allocations: 0.826 MB / 276.5 MB, free: 0.7383 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.707/1.707, allocations: 274.9 MB / 0.5419 GB, free: 0.6016 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Controls.HeatPump.Examples.TwoPointControlledHeatPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.HeatPump.Examples.TwoPointControlledHeatPump") translateModel(AixLib.Controls.HeatPump.Examples.TwoPointControlledHeatPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.HeatPump.Examples.TwoPointControlledHeatPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.608e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.HeatPump.Examples.TwoPointControlledHeatPump): time 0.002728/0.002744, allocations: 2.386 MB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0008636/0.003608, allocations: 0.6385 MB / 0.6408 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.722e-05/0.003705, allocations: 7.938 kB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.003814, allocations: 15.8 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.113e-05/0.003865, allocations: 27.72 kB / 0.6409 GB, free: 11 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.004034, allocations: 51.89 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.004164, allocations: 135.5 kB / 0.641 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.004308, allocations: 50.48 kB / 0.6411 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.004458, allocations: 75.8 kB / 0.6412 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.317e-05/0.004521, allocations: 35.84 kB / 0.6412 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.004539, allocations: 8 kB / 0.6412 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 5.295e-05/0.004592, allocations: 12 kB / 0.6412 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.004613, allocations: 23.91 kB / 0.6412 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.004641, allocations: 35.91 kB / 0.6413 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.004768, allocations: 87.61 kB / 0.6414 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.00477, allocations: 4 kB / 0.6414 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.41e-07/0.004771, allocations: 0 / 0.6414 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.828e-06/0.004774, allocations: 0 / 0.6414 GB, free: 10.48 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0003382/0.005113, allocations: 320.1 kB / 0.6417 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.005148, allocations: 15.98 kB / 0.6417 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.005256, allocations: 28.89 kB / 0.6417 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.005403, allocations: 141.6 kB / 0.6418 GB, free: 9.934 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.00542, allocations: 12.38 kB / 0.6419 GB, free: 9.922 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.005431, allocations: 8.375 kB / 0.6419 GB, free: 9.914 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.005556, allocations: 109 kB / 0.642 GB, free: 9.793 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.005564, allocations: 4.172 kB / 0.642 GB, free: 9.789 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.005574, allocations: 7.938 kB / 0.642 GB, free: 9.781 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.00558, allocations: 4 kB / 0.642 GB, free: 9.777 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.557e-05/0.005615, allocations: 23.88 kB / 0.642 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.005977, allocations: 371.2 kB / 0.6424 GB, free: 9.367 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.006137, allocations: 78.58 kB / 0.6424 GB, free: 9.281 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.509e-05/0.006152, allocations: 8.859 kB / 0.6424 GB, free: 9.27 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.006164, allocations: 4 kB / 0.6424 GB, free: 9.266 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.006183, allocations: 38.5 kB / 0.6425 GB, free: 9.219 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.006184, allocations: 0 / 0.6425 GB, free: 9.219 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4): time 0.000101/0.006285, allocations: 41.78 kB / 0.6425 GB, free: 9.172 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.006312, allocations: 63.39 kB / 0.6426 GB, free: 9.098 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.832e-05/0.006391, allocations: 142.6 kB / 0.6427 GB, free: 8.945 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.006402, allocations: 25.7 kB / 0.6427 GB, free: 8.914 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.00646, allocations: 123.8 kB / 0.6429 GB, free: 8.789 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 8.776e-06/0.006469, allocations: 15.88 kB / 0.6429 GB, free: 8.773 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.006501, allocations: 21.72 kB / 0.6429 GB, free: 8.746 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.259e-05/0.006584, allocations: 326.8 kB / 0.6432 GB, free: 8.418 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.18e-05/0.006596, allocations: 4 kB / 0.6432 GB, free: 8.414 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/0.006626, allocations: 44.27 kB / 0.6433 GB, free: 8.355 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.758e-05/0.006673, allocations: 48.22 kB / 0.6433 GB, free: 8.293 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.006675, allocations: 0 / 0.6433 GB, free: 8.293 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.644e-05/0.006751, allocations: 65.55 kB / 0.6434 GB, free: 8.223 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.006765, allocations: 8 kB / 0.6434 GB, free: 8.215 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.00677, allocations: 4.125 kB / 0.6434 GB, free: 8.211 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.006782, allocations: 0 / 0.6434 GB, free: 8.211 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.401e-05/0.006826, allocations: 15.98 kB / 0.6434 GB, free: 8.195 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.006829, allocations: 0 / 0.6434 GB, free: 8.195 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.662e-05/0.006866, allocations: 16.19 kB / 0.6434 GB, free: 8.18 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.006871, allocations: 0 / 0.6434 GB, free: 8.18 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (hPController.onOffController.y,$PRE.hPController.onOffController.y,hPController.booleanConstant.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001687/0.00704, allocations: 125.6 kB / 0.6435 GB, free: 8.047 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.00706, allocations: 15.98 kB / 0.6435 GB, free: 8.031 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.09e-05/0.007081, allocations: 12.34 kB / 0.6436 GB, free: 8.023 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.007082, allocations: 0 / 0.6436 GB, free: 8.023 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.007084, allocations: 4 kB / 0.6436 GB, free: 8.02 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.007087, allocations: 0 / 0.6436 GB, free: 8.02 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.007249, allocations: 206.8 kB / 0.6438 GB, free: 7.793 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.00725, allocations: 0 / 0.6438 GB, free: 7.793 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-05/0.007272, allocations: 7.938 kB / 0.6438 GB, free: 7.785 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.007274, allocations: 0 / 0.6438 GB, free: 7.785 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.00728, allocations: 4 kB / 0.6438 GB, free: 7.781 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.007284, allocations: 3.984 kB / 0.6438 GB, free: 7.777 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.007286, allocations: 0 / 0.6438 GB, free: 7.777 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.326e-05/0.007359, allocations: 143.5 kB / 0.6439 GB, free: 7.621 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.007368, allocations: 11.89 kB / 0.6439 GB, free: 7.609 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.00738, allocations: 4 kB / 0.6439 GB, free: 7.605 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.07e-05/0.00742, allocations: 7.984 kB / 0.6439 GB, free: 7.598 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.007456, allocations: 7.984 kB / 0.6439 GB, free: 7.59 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.007459, allocations: 0 / 0.6439 GB, free: 7.59 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.378e-05/0.007483, allocations: 32.83 kB / 0.644 GB, free: 7.555 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.007483, allocations: 0 / 0.644 GB, free: 7.555 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001302/0.007613, allocations: 19.89 kB / 0.644 GB, free: 7.535 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (hPController.onOffController.y) * Number of discrete states: 1 (hPController.onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.341e-05/0.007677, allocations: 88.28 kB / 0.6441 GB, free: 7.438 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.24e-05/0.007739, allocations: 32.8 kB / 0.6441 GB, free: 7.402 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.007741, allocations: 0 / 0.6441 GB, free: 7.402 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.013e-05/0.007761, allocations: 16.84 kB / 0.6441 GB, free: 7.383 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.00789, allocations: 8 kB / 0.6441 GB, free: 7.375 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/0.008329, allocations: 224.5 kB / 0.6443 GB, free: 7.129 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.485e-05/0.008364, allocations: 63.33 kB / 0.6444 GB, free: 7.047 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.859e-05/0.008392, allocations: 8.25 kB / 0.6444 GB, free: 7.039 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.366e-05/0.008446, allocations: 63.36 kB / 0.6445 GB, free: 6.977 MB / 0.6043 GB Notification: Performance of SimCode: time 7.52e-07/0.008447, allocations: 3.938 kB / 0.6445 GB, free: 6.973 MB / 0.6043 GB Notification: Performance of Templates: time 0.002432/0.01088, allocations: 0.998 MB / 0.6454 GB, free: 5.98 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.HeatPump.Examples.TwoPointControlledHeatPump.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.HeatPump.Examples.TwoPointControlledHeatPump.pipe ; mkfifo AixLib_AixLib.Controls.HeatPump.Examples.TwoPointControlledHeatPump.pipe ; head -c 1048576 < AixLib_AixLib.Controls.HeatPump.Examples.TwoPointControlledHeatPump.pipe >> ../files/AixLib_AixLib.Controls.HeatPump.Examples.TwoPointControlledHeatPump.sim & ./AixLib_AixLib.Controls.HeatPump.Examples.TwoPointControlledHeatPump -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.HeatPump.Examples.TwoPointControlledHeatPump.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.332414596807212]