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.001468/0.001468, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 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.001592/0.001592, allocations: 218.5 kB / 23.03 MB, free: 4.922 MB / 14.72 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.354/1.354, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.002392/0.002392, allocations: 282.7 kB / 313.5 MB, free: 2.621 MB / 238.1 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 1.14/1.14, allocations: 180.6 MB / 0.5377 GB, free: 14.51 MB / 382.1 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: "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002668/0.002668, allocations: 96.2 kB / 0.7403 GB, free: 28.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1608, allocations: 95.39 MB / 0.8334 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00341/0.1642, allocations: 1.991 MB / 0.8354 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1653, allocations: 0.6234 MB / 0.836 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.761e-05/0.1654, allocations: 4 kB / 0.836 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.1655, allocations: 23.67 kB / 0.836 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.273e-05/0.1656, allocations: 39.59 kB / 0.836 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.1659, allocations: 103.8 kB / 0.8361 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.1662, allocations: 228.1 kB / 0.8364 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.1664, allocations: 88.25 kB / 0.8364 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.1666, allocations: 107.6 kB / 0.8365 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.1667, allocations: 91.55 kB / 0.8366 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.845e-05/0.1668, allocations: 28 kB / 0.8367 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.704e-05/0.1668, allocations: 32 kB / 0.8367 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.455e-05/0.1669, allocations: 55.83 kB / 0.8367 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.195e-05/0.167, allocations: 83.53 kB / 0.8368 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.1674, allocations: 290.8 kB / 0.8371 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1674, allocations: 4 kB / 0.8371 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1674, allocations: 3.938 kB / 0.8371 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.1674, allocations: 0 / 0.8371 GB, free: 4.559 MB / 0.5762 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.000751/0.1681, allocations: 464.9 kB / 0.8376 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1682, allocations: 8.75 kB / 0.8376 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.509e-05/0.1682, allocations: 8.188 kB / 0.8376 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.212e-05/0.1682, allocations: 50.73 kB / 0.8376 GB, free: 4 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002767/0.1685, allocations: 52.77 kB / 0.8377 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.1689, allocations: 194.7 kB / 0.8379 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.1689, allocations: 16.38 kB / 0.8379 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.1689, allocations: 16.38 kB / 0.8379 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004502/0.1694, allocations: 305.8 kB / 0.8382 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1694, allocations: 0 / 0.8382 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.1694, allocations: 12 kB / 0.8382 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.1694, allocations: 4 kB / 0.8382 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/0.1697, allocations: 143.9 kB / 0.8383 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009004/0.1706, allocations: 0.5147 MB / 0.8388 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/0.171, allocations: 110.7 kB / 0.8389 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.1711, allocations: 52.84 kB / 0.839 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1711, allocations: 0 / 0.839 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.1711, allocations: 30.56 kB / 0.839 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.1711, allocations: 0 / 0.839 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0004368/0.1716, allocations: 173.6 kB / 0.8392 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.82e-05/0.1716, allocations: 132.5 kB / 0.8393 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.1719, allocations: 219.1 kB / 0.8395 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.1719, allocations: 37.69 kB / 0.8396 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.172, allocations: 152.3 kB / 0.8397 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.172, allocations: 27.75 kB / 0.8397 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-05/0.1721, allocations: 33.7 kB / 0.8398 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.1723, allocations: 330.8 kB / 0.8401 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.1724, allocations: 43.98 kB / 0.8401 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.1726, allocations: 167.2 kB / 0.8403 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.1728, allocations: 85.69 kB / 0.8404 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1728, allocations: 0 / 0.8404 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002973/0.1731, allocations: 163.9 kB / 0.8405 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1731, allocations: 4 kB / 0.8405 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.1731, allocations: 4 kB / 0.8405 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1731, allocations: 3.938 kB / 0.8405 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1732, allocations: 19.92 kB / 0.8405 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1732, allocations: 3.984 kB / 0.8405 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.1733, allocations: 31.86 kB / 0.8406 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.1734, allocations: 12.03 kB / 0.8406 GB, free: 0.7148 MB / 0.5762 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 0.0001268/0.1735, allocations: 130.5 kB / 0.8407 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.1735, allocations: 15.91 kB / 0.8407 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.979e-05/0.1736, allocations: 25.7 kB / 0.8407 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1736, allocations: 4 kB / 0.8408 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1736, allocations: 0 / 0.8408 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1736, allocations: 0 / 0.8408 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.1739, allocations: 228.5 kB / 0.841 GB, free: 276 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1739, allocations: 0 / 0.841 GB, free: 276 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.748e-05/0.174, allocations: 23.92 kB / 0.841 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.174, allocations: 0 / 0.841 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.174, allocations: 3.938 kB / 0.841 GB, free: 248 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.174, allocations: 0 / 0.841 GB, free: 248 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.174, allocations: 4 kB / 0.841 GB, free: 244 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.1743, allocations: 231.4 kB / 0.8412 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/0.1743, allocations: 11.91 kB / 0.8412 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.1744, allocations: 11.94 kB / 0.8412 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.1745, allocations: 23.92 kB / 0.8413 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/0.1746, allocations: 27.95 kB / 0.8413 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.1746, allocations: 3.938 kB / 0.8413 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001374/0.1747, allocations: 156.6 kB / 0.8414 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1747, allocations: 0 / 0.8414 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002539/0.175, allocations: 39.89 kB / 0.8415 GB, free: 15.73 MB / 0.5919 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.0006299/0.1756, allocations: 0.767 MB / 0.8422 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002873/0.1759, allocations: 112 kB / 0.8423 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1759, allocations: 0 / 0.8423 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.176, allocations: 55.84 kB / 0.8424 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.1763, allocations: 18.7 kB / 0.8424 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/0.1787, allocations: 1.997 MB / 0.8444 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.1788, allocations: 125.2 kB / 0.8445 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.082e-05/0.1789, allocations: 25.36 kB / 0.8445 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.179, allocations: 67.39 kB / 0.8446 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.179, allocations: 0 / 0.8446 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.204, allocations: 4.299 MB / 0.8488 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.93, allocations: 7.328 kB / 0.8488 GB, free: 8.363 MB / 0.5919 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.861540457000956] Failed to read output from testmodel.py, exit status != 0: 11.08225483307615 11.097824184 10.927613232 Calling exit ...