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.001118/0.001118, allocations: 80.53 kB / 19.93 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.0008394/0.0008394, allocations: 169.9 kB / 23.21 MB, free: 1.359 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.8795/0.8795, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.57/0.57, allocations: 114 MB / 373.9 MB, free: 8.723 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.924e-06/1.924e-06, allocations: 0 / 0.5542 GB, free: 1.699 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.972e-05, allocations: 4.672 kB / 0.5542 GB, free: 1.695 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002348/0.002368, allocations: 1.996 MB / 0.5561 GB, free: 15.69 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009266/0.003294, allocations: 0.6194 MB / 0.5568 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.0034, allocations: 7.938 kB / 0.5568 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.003507, allocations: 19.73 kB / 0.5568 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.011e-05/0.003567, allocations: 35.59 kB / 0.5568 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.003889, allocations: 103.7 kB / 0.5569 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000216/0.004105, allocations: 236 kB / 0.5571 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.00428, allocations: 88.02 kB / 0.5572 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.004492, allocations: 143.6 kB / 0.5574 GB, free: 14.45 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.731e-05/0.00459, allocations: 75.72 kB / 0.5574 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.004619, allocations: 24 kB / 0.5575 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.439e-05/0.004694, allocations: 31.98 kB / 0.5575 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.004748, allocations: 59.77 kB / 0.5575 GB, free: 14.26 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.584e-05/0.004803, allocations: 71.75 kB / 0.5576 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.005068, allocations: 291 kB / 0.5579 GB, free: 13.91 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.005071, allocations: 4 kB / 0.5579 GB, free: 13.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.005072, allocations: 0 / 0.5579 GB, free: 13.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.005077, allocations: 4 kB / 0.5579 GB, free: 13.9 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.0005829/0.005659, allocations: 457.1 kB / 0.5583 GB, free: 13.42 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.005697, allocations: 8.625 kB / 0.5583 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.652e-05/0.005744, allocations: 54.73 kB / 0.5584 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.00592, allocations: 44.77 kB / 0.5584 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.006193, allocations: 210.4 kB / 0.5586 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.006212, allocations: 16.38 kB / 0.5586 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.006232, allocations: 20.38 kB / 0.5587 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.006539, allocations: 305.6 kB / 0.559 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.006549, allocations: 0 / 0.559 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.006565, allocations: 4 kB / 0.559 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.006571, allocations: 4 kB / 0.559 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.006767, allocations: 143.9 kB / 0.5591 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006336/0.007401, allocations: 0.5145 MB / 0.5596 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.007643, allocations: 118.7 kB / 0.5597 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.151e-05/0.007715, allocations: 40.84 kB / 0.5598 GB, free: 11.83 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.007734, allocations: 4 kB / 0.5598 GB, free: 11.83 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.007757, allocations: 30.56 kB / 0.5598 GB, free: 11.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.007758, allocations: 4 kB / 0.5598 GB, free: 11.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003662/0.008124, allocations: 173.6 kB / 0.56 GB, free: 11.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.008184, allocations: 128.5 kB / 0.5601 GB, free: 11.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.008349, allocations: 223.9 kB / 0.5603 GB, free: 11.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.008372, allocations: 33.69 kB / 0.5603 GB, free: 11.19 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.008451, allocations: 148.8 kB / 0.5605 GB, free: 11.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.008471, allocations: 27.75 kB / 0.5605 GB, free: 11.01 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-05/0.00852, allocations: 37.7 kB / 0.5605 GB, free: 10.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.313e-05/0.008603, allocations: 334.8 kB / 0.5609 GB, free: 10.63 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.219e-05/0.008675, allocations: 47.92 kB / 0.5609 GB, free: 10.58 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.008785, allocations: 165.3 kB / 0.5611 GB, free: 10.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.008901, allocations: 85.56 kB / 0.5611 GB, free: 10.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.008904, allocations: 0 / 0.5611 GB, free: 10.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001893/0.009093, allocations: 161.5 kB / 0.5613 GB, free: 10.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.009107, allocations: 10.03 kB / 0.5613 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.009113, allocations: 0 / 0.5613 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.009127, allocations: 7.938 kB / 0.5613 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.009191, allocations: 19.92 kB / 0.5613 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.0092, allocations: 0 / 0.5613 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.68e-05/0.009267, allocations: 27.88 kB / 0.5614 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.009277, allocations: 7.984 kB / 0.5614 GB, free: 10.07 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.155e-05/0.009368, allocations: 141.8 kB / 0.5615 GB, free: 9.918 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.009395, allocations: 19.94 kB / 0.5615 GB, free: 9.898 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.272e-05/0.009428, allocations: 25.45 kB / 0.5615 GB, free: 9.871 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.009431, allocations: 3.938 kB / 0.5615 GB, free: 9.867 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.009435, allocations: 0 / 0.5615 GB, free: 9.867 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.009438, allocations: 0 / 0.5615 GB, free: 9.867 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.00961, allocations: 224.6 kB / 0.5618 GB, free: 9.605 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.009611, allocations: 0 / 0.5618 GB, free: 9.605 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.954e-05/0.009651, allocations: 11.98 kB / 0.5618 GB, free: 9.594 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.009654, allocations: 4 kB / 0.5618 GB, free: 9.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.009665, allocations: 8 kB / 0.5618 GB, free: 9.582 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.009667, allocations: 3.938 kB / 0.5618 GB, free: 9.578 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.009668, allocations: 4 kB / 0.5618 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.009857, allocations: 223.3 kB / 0.562 GB, free: 9.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.009876, allocations: 19.84 kB / 0.562 GB, free: 9.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.009896, allocations: 4 kB / 0.562 GB, free: 9.316 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.041e-05/0.009966, allocations: 23.91 kB / 0.562 GB, free: 9.293 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.01002, allocations: 27.95 kB / 0.5621 GB, free: 9.266 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.01003, allocations: 11.94 kB / 0.5621 GB, free: 9.254 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.399e-05/0.01011, allocations: 152.7 kB / 0.5622 GB, free: 9.105 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01011, allocations: 0 / 0.5622 GB, free: 9.105 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001851/0.0103, allocations: 39.89 kB / 0.5623 GB, free: 9.066 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 0.0003616/0.01066, allocations: 0.767 MB / 0.563 GB, free: 8.273 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.01085, allocations: 99.89 kB / 0.5631 GB, free: 8.176 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01086, allocations: 4.062 kB / 0.5631 GB, free: 8.172 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.836e-05/0.01093, allocations: 55.92 kB / 0.5632 GB, free: 8.117 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.01115, allocations: 24.66 kB / 0.5632 GB, free: 8.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.01264, allocations: 1.986 MB / 0.5651 GB, free: 6.023 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.445e-05/0.01271, allocations: 129.2 kB / 0.5653 GB, free: 5.879 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.71e-05/0.01277, allocations: 21.48 kB / 0.5653 GB, free: 5.859 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.384e-05/0.01285, allocations: 64.47 kB / 0.5653 GB, free: 5.797 MB / 490.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01285, allocations: 0 / 0.5653 GB, free: 5.797 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.02911, allocations: 4.813 MB / 0.57 GB, free: 1.223 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.529/6.558, allocations: 6.406 kB / 0.57 GB, free: 1.219 MB / 490.7 MB " [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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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: 8.983610683120787] Failed to read output from testmodel.py, exit status != 0: 6.640696734189987 6.649524438 6.642618916 Calling exit ...