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.04014/0.04014, allocations: 9.13 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.0008461/0.0008461, allocations: 90.94 kB / 35.33 MB, free: 1.074 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.001093/0.001093, allocations: 163.6 kB / 38.73 MB, free: 2.508 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.9499/0.9499, allocations: 177.2 MB / 219.2 MB, free: 10.08 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.003897/0.003897, allocations: 0.8337 MB / 276.5 MB, free: 0.7109 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.694/1.694, allocations: 274.9 MB / 0.5419 GB, free: 0.6328 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.142e-06/1.142e-06, allocations: 0 / 0.6378 GB, free: 14.18 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.498e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.17 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.HeatPump.Examples.TwoPointControlledHeatPump): time 0.002492/0.002507, allocations: 2.35 MB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0008164/0.003323, allocations: 0.6347 MB / 0.6407 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.519e-05/0.003419, allocations: 3.938 kB / 0.6407 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.003527, allocations: 23.8 kB / 0.6408 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.646e-05/0.003573, allocations: 19.73 kB / 0.6408 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.003752, allocations: 51.88 kB / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.003868, allocations: 127.6 kB / 0.6409 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.004013, allocations: 62.36 kB / 0.641 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.004144, allocations: 75.8 kB / 0.6411 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.185e-05/0.004206, allocations: 31.89 kB / 0.6411 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.004224, allocations: 8 kB / 0.6411 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 3.993e-05/0.004264, allocations: 24 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.004282, allocations: 27.78 kB / 0.6412 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.004311, allocations: 35.92 kB / 0.6412 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.004427, allocations: 79.66 kB / 0.6413 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004428, allocations: 0 / 0.6413 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.6e-07/0.004429, allocations: 0 / 0.6413 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.004432, allocations: 0 / 0.6413 GB, free: 10.59 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.0003289/0.004761, allocations: 328.1 kB / 0.6416 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.004793, allocations: 15.98 kB / 0.6416 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.165e-05/0.004885, allocations: 24.91 kB / 0.6416 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.005019, allocations: 141.6 kB / 0.6418 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.005034, allocations: 8.375 kB / 0.6418 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.005048, allocations: 12.38 kB / 0.6418 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.005163, allocations: 105 kB / 0.6419 GB, free: 9.91 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.005169, allocations: 192 / 0.6419 GB, free: 9.91 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.005182, allocations: 15.88 kB / 0.6419 GB, free: 9.895 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.005187, allocations: 3.984 kB / 0.6419 GB, free: 9.891 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.211e-05/0.005219, allocations: 24 kB / 0.6419 GB, free: 9.867 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.00559, allocations: 363.3 kB / 0.6423 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.005746, allocations: 82.56 kB / 0.6424 GB, free: 9.398 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.369e-05/0.005759, allocations: 12.86 kB / 0.6424 GB, free: 9.383 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.00577, allocations: 0 / 0.6424 GB, free: 9.383 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.005787, allocations: 30.56 kB / 0.6424 GB, free: 9.344 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.005788, allocations: 0 / 0.6424 GB, free: 9.344 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4): time 9.947e-05/0.005887, allocations: 49.72 kB / 0.6424 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.005911, allocations: 51.41 kB / 0.6425 GB, free: 9.227 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.142e-05/0.005992, allocations: 154.5 kB / 0.6426 GB, free: 9.062 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.006003, allocations: 25.7 kB / 0.6427 GB, free: 9.031 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.006049, allocations: 119.8 kB / 0.6428 GB, free: 8.91 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 9.367e-06/0.006058, allocations: 19.89 kB / 0.6428 GB, free: 8.891 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.006085, allocations: 21.7 kB / 0.6428 GB, free: 8.863 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.006222, allocations: 326.8 kB / 0.6431 GB, free: 8.535 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.093e-05/0.006232, allocations: 4 kB / 0.6431 GB, free: 8.531 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.45e-05/0.006257, allocations: 36.28 kB / 0.6432 GB, free: 8.48 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.638e-05/0.006303, allocations: 60.38 kB / 0.6432 GB, free: 8.406 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.006306, allocations: 0 / 0.6432 GB, free: 8.406 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8) (initialization): time 6.424e-05/0.00637, allocations: 69.55 kB / 0.6433 GB, free: 8.332 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/0.006379, allocations: 7.938 kB / 0.6433 GB, free: 8.324 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.006383, allocations: 0 / 0.6433 GB, free: 8.324 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.998e-06/0.006393, allocations: 4 kB / 0.6433 GB, free: 8.32 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.296e-05/0.006426, allocations: 8 kB / 0.6433 GB, free: 8.312 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.006431, allocations: 7.922 kB / 0.6433 GB, free: 8.305 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.358e-05/0.006465, allocations: 15.95 kB / 0.6433 GB, free: 8.289 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.00647, allocations: 0 / 0.6433 GB, free: 8.289 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 5.667e-05/0.006527, allocations: 121.8 kB / 0.6434 GB, free: 8.16 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.006541, allocations: 7.984 kB / 0.6435 GB, free: 8.152 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.924e-05/0.00656, allocations: 12.34 kB / 0.6435 GB, free: 8.141 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.006561, allocations: 0 / 0.6435 GB, free: 8.141 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.006563, allocations: 0 / 0.6435 GB, free: 8.141 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.006565, allocations: 0 / 0.6435 GB, free: 8.141 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.006708, allocations: 214.7 kB / 0.6437 GB, free: 7.906 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.00671, allocations: 4 kB / 0.6437 GB, free: 7.902 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.53e-05/0.006725, allocations: 4 kB / 0.6437 GB, free: 7.898 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.006727, allocations: 4 kB / 0.6437 GB, free: 7.895 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-06/0.006731, allocations: 0 / 0.6437 GB, free: 7.895 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.006732, allocations: 4 kB / 0.6437 GB, free: 7.891 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.006732, allocations: 0 / 0.6437 GB, free: 7.891 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.069e-05/0.006793, allocations: 139.5 kB / 0.6438 GB, free: 7.738 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.799e-06/0.006803, allocations: 7.953 kB / 0.6438 GB, free: 7.73 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.006815, allocations: 4 kB / 0.6438 GB, free: 7.727 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.748e-05/0.006852, allocations: 11.98 kB / 0.6438 GB, free: 7.715 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.006885, allocations: 7.922 kB / 0.6438 GB, free: 7.707 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.006887, allocations: 0 / 0.6438 GB, free: 7.707 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.187e-05/0.006909, allocations: 32.83 kB / 0.6439 GB, free: 7.672 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.006909, allocations: 0 / 0.6439 GB, free: 7.672 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001248/0.007034, allocations: 23.89 kB / 0.6439 GB, free: 7.648 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 5.982e-05/0.007093, allocations: 76.42 kB / 0.644 GB, free: 7.562 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.949e-05/0.007153, allocations: 32.78 kB / 0.644 GB, free: 7.527 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.007156, allocations: 4 kB / 0.644 GB, free: 7.523 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-05/0.007173, allocations: 17.06 kB / 0.644 GB, free: 7.504 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.007304, allocations: 8 kB / 0.644 GB, free: 7.496 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004723/0.007776, allocations: 228.7 kB / 0.6443 GB, free: 7.246 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.528e-05/0.007812, allocations: 67.33 kB / 0.6443 GB, free: 7.16 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.981e-05/0.007841, allocations: 11.92 kB / 0.6443 GB, free: 7.148 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.007894, allocations: 59.36 kB / 0.6444 GB, free: 7.09 MB / 0.6043 GB Notification: Performance of SimCode: time 6.01e-07/0.007894, allocations: 0 / 0.6444 GB, free: 7.09 MB / 0.6043 GB Notification: Performance of Templates: time 0.002404/0.0103, allocations: 0.9979 MB / 0.6454 GB, free: 6.098 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 -lv LOG_STATS > AixLib_AixLib.Controls.HeatPump.Examples.TwoPointControlledHeatPump.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.351381148677319]