Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0008404/0.0008404, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0009224/0.0009224, allocations: 174.3 kB / 23.21 MB, free: 1.352 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 0.8672/0.8672, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5542/0.5542, allocations: 114 MB / 373.9 MB, free: 8.707 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.508e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002223/0.002238, allocations: 2.008 MB / 0.5562 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009689/0.003207, allocations: 0.6233 MB / 0.5568 GB, free: 124 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.003317, allocations: 0 / 0.5568 GB, free: 124 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.003431, allocations: 23.67 kB / 0.5568 GB, free: 100 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.015e-05/0.003501, allocations: 39.59 kB / 0.5568 GB, free: 60 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.003844, allocations: 99.77 kB / 0.5569 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.004043, allocations: 236 kB / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.00421, allocations: 76.03 kB / 0.5572 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.004404, allocations: 143.6 kB / 0.5574 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.237e-05/0.004497, allocations: 83.75 kB / 0.5574 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.004523, allocations: 27.94 kB / 0.5575 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 6.497e-05/0.004588, allocations: 31.94 kB / 0.5575 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.929e-05/0.004637, allocations: 51.83 kB / 0.5575 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.004691, allocations: 71.83 kB / 0.5576 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.004954, allocations: 295 kB / 0.5579 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.004956, allocations: 0 / 0.5579 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.21e-07/0.004957, allocations: 0 / 0.5579 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.004961, allocations: 4 kB / 0.5579 GB, free: 14.96 MB / 0.5261 GB 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.0005601/0.005521, allocations: 461.2 kB / 0.5583 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.005566, allocations: 12.62 kB / 0.5583 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.824e-05/0.005614, allocations: 50.73 kB / 0.5584 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.005814, allocations: 40.78 kB / 0.5584 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.006112, allocations: 202.6 kB / 0.5586 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.006131, allocations: 16.38 kB / 0.5586 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.006152, allocations: 20.38 kB / 0.5587 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.006472, allocations: 305.6 kB / 0.559 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.00648, allocations: 0 / 0.559 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.006498, allocations: 8 kB / 0.559 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.006504, allocations: 7.938 kB / 0.559 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.006706, allocations: 139.9 kB / 0.5591 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006831/0.007389, allocations: 0.5184 MB / 0.5596 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.007629, allocations: 114.7 kB / 0.5597 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.78e-05/0.007707, allocations: 48.83 kB / 0.5598 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.007725, allocations: 4 kB / 0.5598 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.007745, allocations: 30.56 kB / 0.5598 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.007746, allocations: 192 / 0.5598 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0002984/0.008045, allocations: 173.4 kB / 0.56 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.0081, allocations: 132.5 kB / 0.5601 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.008242, allocations: 227.8 kB / 0.5603 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.008261, allocations: 29.7 kB / 0.5603 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.523e-05/0.008337, allocations: 152.3 kB / 0.5605 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.008357, allocations: 31.78 kB / 0.5605 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.008404, allocations: 33.7 kB / 0.5605 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.041e-05/0.008484, allocations: 326.8 kB / 0.5609 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.362e-05/0.008558, allocations: 51.97 kB / 0.5609 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.008676, allocations: 161.4 kB / 0.5611 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.008797, allocations: 89.62 kB / 0.5611 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.008799, allocations: 0 / 0.5611 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000177/0.008976, allocations: 149.5 kB / 0.5613 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.008989, allocations: 6.5 kB / 0.5613 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.008995, allocations: 4.031 kB / 0.5613 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.00901, allocations: 7.938 kB / 0.5613 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.18e-05/0.009071, allocations: 23.92 kB / 0.5613 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.009078, allocations: 0 / 0.5613 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.966e-05/0.009147, allocations: 31.86 kB / 0.5614 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.009155, allocations: 0 / 0.5614 GB, free: 11.13 MB / 0.5261 GB 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.313e-05/0.009249, allocations: 137.8 kB / 0.5615 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.009273, allocations: 15.91 kB / 0.5615 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.00931, allocations: 25.83 kB / 0.5615 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.009313, allocations: 3.938 kB / 0.5615 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.009318, allocations: 0 / 0.5615 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.009322, allocations: 4 kB / 0.5615 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.009509, allocations: 228.5 kB / 0.5618 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.00951, allocations: 0 / 0.5618 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.983e-05/0.00956, allocations: 19.86 kB / 0.5618 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.009563, allocations: 4 kB / 0.5618 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.009572, allocations: 0 / 0.5618 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.009574, allocations: 3.938 kB / 0.5618 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.009576, allocations: 8 kB / 0.5618 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.009772, allocations: 223.3 kB / 0.562 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/0.009791, allocations: 23.84 kB / 0.562 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.009813, allocations: 4 kB / 0.562 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.00989, allocations: 23.91 kB / 0.5621 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.009949, allocations: 23.95 kB / 0.5621 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-06/0.009954, allocations: 4 kB / 0.5621 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.645e-05/0.01004, allocations: 156.7 kB / 0.5622 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.01004, allocations: 4 kB / 0.5622 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001776/0.01022, allocations: 39.89 kB / 0.5623 GB, free: 10.13 MB / 0.5261 GB 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 0.0003712/0.01059, allocations: 0.7631 MB / 0.563 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001897/0.01078, allocations: 102.9 kB / 0.5631 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01078, allocations: 4 kB / 0.5631 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.369e-05/0.01086, allocations: 60.09 kB / 0.5632 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.01107, allocations: 21.61 kB / 0.5632 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.01263, allocations: 1.998 MB / 0.5651 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.355e-05/0.01272, allocations: 129.2 kB / 0.5653 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.036e-05/0.01278, allocations: 21.48 kB / 0.5653 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.529e-05/0.01286, allocations: 68.45 kB / 0.5654 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of SimCode: time 5.71e-07/0.01286, allocations: 0 / 0.5654 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0163/0.02916, allocations: 4.793 MB / 0.57 GB, free: 2.285 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.978/7.007, allocations: 11.91 kB / 0.57 GB, free: 2.277 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.542990065179765] Failed to read output from testmodel.py, exit status != 0: 7.089585155248642 7.102045745 7.095276961 Calling exit ...