Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.001098/0.001098, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001041/0.001041, allocations: 165 kB / 23.01 MB, free: 1.555 MB / 18.57 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.003/1.003, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001758/0.001758, allocations: 237.3 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7359/0.7359, allocations: 138.4 MB / 455.2 MB, free: 30 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.5551 GB, free: 156 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.684e-05, allocations: 6.312 kB / 0.5551 GB, free: 148 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002281/0.002298, allocations: 2.074 MB / 0.5571 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000883/0.003181, allocations: 0.6426 MB / 0.5578 GB, free: 13.4 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.003283, allocations: 4 kB / 0.5578 GB, free: 13.4 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.0034, allocations: 23.67 kB / 0.5578 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.72e-05/0.003468, allocations: 43.59 kB / 0.5578 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.003811, allocations: 95.83 kB / 0.5579 GB, free: 13.24 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.004018, allocations: 236 kB / 0.5581 GB, free: 13.01 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.004181, allocations: 81.5 kB / 0.5582 GB, free: 12.93 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.004365, allocations: 135.7 kB / 0.5583 GB, free: 12.8 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.144e-05/0.004457, allocations: 83.69 kB / 0.5584 GB, free: 12.71 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.004486, allocations: 24 kB / 0.5584 GB, free: 12.69 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.824e-05/0.004554, allocations: 32 kB / 0.5585 GB, free: 12.66 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.931e-05/0.004603, allocations: 51.83 kB / 0.5585 GB, free: 12.61 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.145e-05/0.004665, allocations: 71.77 kB / 0.5586 GB, free: 12.54 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.004889, allocations: 183.2 kB / 0.5588 GB, free: 12.36 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.004892, allocations: 4 kB / 0.5588 GB, free: 12.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004893, allocations: 0 / 0.5588 GB, free: 12.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.004898, allocations: 0 / 0.5588 GB, free: 12.36 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005421/0.00544, allocations: 0.5461 MB / 0.5593 GB, free: 11.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.005479, allocations: 13.94 kB / 0.5593 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002342/0.005713, allocations: 56.73 kB / 0.5594 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.005958, allocations: 212.7 kB / 0.5596 GB, free: 11.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.005974, allocations: 12.38 kB / 0.5596 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.005998, allocations: 20.38 kB / 0.5596 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.006277, allocations: 274.4 kB / 0.5599 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.006287, allocations: 192 / 0.5599 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.006304, allocations: 8.375 kB / 0.5599 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.006313, allocations: 7.938 kB / 0.5599 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.006426, allocations: 55.95 kB / 0.5599 GB, free: 11.06 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006115/0.007038, allocations: 0.5108 MB / 0.5604 GB, free: 10.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.007235, allocations: 83.22 kB / 0.5605 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.384e-05/0.007279, allocations: 27.67 kB / 0.5605 GB, free: 10.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.007298, allocations: 4 kB / 0.5606 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.007321, allocations: 37.52 kB / 0.5606 GB, free: 10.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.007322, allocations: 0 / 0.5606 GB, free: 10.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002182/0.00754, allocations: 109.5 kB / 0.5607 GB, free: 10.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.007591, allocations: 136.5 kB / 0.5608 GB, free: 10.06 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.007734, allocations: 249.3 kB / 0.5611 GB, free: 9.797 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.007753, allocations: 29.7 kB / 0.5611 GB, free: 9.762 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.217e-05/0.007845, allocations: 203 kB / 0.5613 GB, free: 9.559 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.007871, allocations: 35.72 kB / 0.5613 GB, free: 9.523 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.007924, allocations: 39.36 kB / 0.5614 GB, free: 9.477 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.00805, allocations: 0.5 MB / 0.5618 GB, free: 8.965 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.576e-05/0.008096, allocations: 23.98 kB / 0.5619 GB, free: 8.941 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.85e-05/0.008185, allocations: 143.5 kB / 0.562 GB, free: 8.762 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.554e-05/0.00826, allocations: 53.17 kB / 0.5621 GB, free: 8.703 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.008262, allocations: 4 kB / 0.5621 GB, free: 8.699 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001393/0.008402, allocations: 101.5 kB / 0.5622 GB, free: 8.594 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.008414, allocations: 4 kB / 0.5622 GB, free: 8.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.008419, allocations: 4 kB / 0.5622 GB, free: 8.586 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.008433, allocations: 0 / 0.5622 GB, free: 8.586 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/0.008495, allocations: 15.98 kB / 0.5622 GB, free: 8.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.0085, allocations: 0 / 0.5622 GB, free: 8.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.496e-05/0.008554, allocations: 19.94 kB / 0.5622 GB, free: 8.551 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.008562, allocations: 4 kB / 0.5622 GB, free: 8.547 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (temPro.hysdTConEva.y,$PRE.temPro.hysdTConEva.y,temPro.on.y,temPro.hysLow.y,$PRE.temPro.hysLow.y,temPro.hysHig.y,$PRE.temPro.hysHig.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.298e-05/0.008655, allocations: 180.5 kB / 0.5624 GB, free: 8.359 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.008684, allocations: 19.91 kB / 0.5624 GB, free: 8.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.008716, allocations: 21.41 kB / 0.5624 GB, free: 8.316 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.008719, allocations: 4 kB / 0.5624 GB, free: 8.312 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.008723, allocations: 0 / 0.5624 GB, free: 8.312 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.008725, allocations: 0 / 0.5624 GB, free: 8.312 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.008885, allocations: 196.4 kB / 0.5626 GB, free: 8.086 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.008887, allocations: 4 kB / 0.5626 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.008926, allocations: 11.98 kB / 0.5626 GB, free: 8.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.008927, allocations: 4 kB / 0.5626 GB, free: 8.066 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.008936, allocations: 0 / 0.5626 GB, free: 8.066 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.008937, allocations: 4 kB / 0.5626 GB, free: 8.062 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.008939, allocations: 3.984 kB / 0.5626 GB, free: 8.059 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.009099, allocations: 244 kB / 0.5629 GB, free: 7.801 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.009114, allocations: 15.91 kB / 0.5629 GB, free: 7.785 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.009136, allocations: 4 kB / 0.5629 GB, free: 7.781 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.231e-05/0.009198, allocations: 11.98 kB / 0.5629 GB, free: 7.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/0.00926, allocations: 27.95 kB / 0.5629 GB, free: 7.742 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.009266, allocations: 4 kB / 0.5629 GB, free: 7.738 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.072e-05/0.009347, allocations: 176.1 kB / 0.5631 GB, free: 7.566 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009347, allocations: 0 / 0.5631 GB, free: 7.566 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001839/0.009531, allocations: 43.84 kB / 0.5631 GB, free: 7.523 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 7.877e-05/0.009609, allocations: 114 kB / 0.5632 GB, free: 7.406 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.009757, allocations: 63.59 kB / 0.5633 GB, free: 7.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.009758, allocations: 0 / 0.5633 GB, free: 7.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.266e-05/0.009811, allocations: 35.67 kB / 0.5633 GB, free: 7.301 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.01002, allocations: 28 kB / 0.5634 GB, free: 7.273 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006675/0.01069, allocations: 338.6 kB / 0.5637 GB, free: 6.914 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.332e-05/0.01074, allocations: 75.83 kB / 0.5638 GB, free: 6.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.12e-05/0.01079, allocations: 17.53 kB / 0.5638 GB, free: 6.805 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.01084, allocations: 16.5 kB / 0.5638 GB, free: 6.789 MB / 490.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01084, allocations: 0 / 0.5638 GB, free: 6.789 MB / 490.7 MB Notification: Performance of Templates: time 0.003776/0.01461, allocations: 2.158 MB / 0.5659 GB, free: 4.715 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8309292239136994]