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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 197.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002599/0.002599, allocations: 274.7 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.02/1.02, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002681/0.002681, allocations: 99.8 kB / 0.5954 GB, free: 27.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.15, allocations: 86.97 MB / 0.6803 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003301/0.1534, allocations: 2.029 MB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000987/0.1544, allocations: 0.5679 MB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.417e-05/0.1545, allocations: 6.75 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.1546, allocations: 23.67 kB / 0.6829 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.88e-05/0.1547, allocations: 35.59 kB / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.155, allocations: 75.91 kB / 0.683 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.1552, allocations: 228.8 kB / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.1554, allocations: 124.5 kB / 0.6833 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.1556, allocations: 83.66 kB / 0.6834 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.1557, allocations: 111.5 kB / 0.6835 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.487e-05/0.1558, allocations: 24 kB / 0.6835 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.436e-05/0.1558, allocations: 28 kB / 0.6835 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.105e-05/0.1559, allocations: 55.83 kB / 0.6836 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.891e-05/0.156, allocations: 107.4 kB / 0.6837 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.1563, allocations: 267.2 kB / 0.6839 GB, free: 12.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1563, allocations: 0 / 0.6839 GB, free: 12.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1563, allocations: 0 / 0.6839 GB, free: 12.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.1564, allocations: 0 / 0.6839 GB, free: 12.82 MB / 494.1 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.0007795/0.1571, allocations: 0.5219 MB / 0.6845 GB, free: 12.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1572, allocations: 8.031 kB / 0.6845 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.074e-05/0.1572, allocations: 50.73 kB / 0.6845 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.1573, allocations: 28.66 kB / 0.6845 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.1576, allocations: 248.7 kB / 0.6848 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.1577, allocations: 16.38 kB / 0.6848 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.1577, allocations: 16.38 kB / 0.6848 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004136/0.1581, allocations: 224.8 kB / 0.685 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1582, allocations: 8 kB / 0.685 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.1582, allocations: 4 kB / 0.685 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.1582, allocations: 4 kB / 0.685 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.1585, allocations: 139.9 kB / 0.6852 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008835/0.1594, allocations: 0.5932 MB / 0.6857 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.1598, allocations: 126.7 kB / 0.6859 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.1599, allocations: 56.81 kB / 0.6859 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.1599, allocations: 7.984 kB / 0.6859 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.16, allocations: 30.56 kB / 0.686 GB, free: 10.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.16, allocations: 3.938 kB / 0.686 GB, free: 10.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.000456/0.1604, allocations: 173.5 kB / 0.6861 GB, free: 10.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.773e-05/0.1605, allocations: 136.5 kB / 0.6863 GB, free: 10.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.1607, allocations: 211.6 kB / 0.6865 GB, free: 10.01 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.1608, allocations: 29.7 kB / 0.6865 GB, free: 9.977 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.1609, allocations: 148.1 kB / 0.6866 GB, free: 9.828 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.1609, allocations: 27.64 kB / 0.6867 GB, free: 9.801 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.604e-05/0.161, allocations: 37.7 kB / 0.6867 GB, free: 9.758 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1611, allocations: 326.8 kB / 0.687 GB, free: 9.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.1613, allocations: 47.97 kB / 0.6871 GB, free: 9.383 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.1614, allocations: 88.27 kB / 0.6871 GB, free: 9.281 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.1616, allocations: 96.44 kB / 0.6872 GB, free: 9.184 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1616, allocations: 3.938 kB / 0.6872 GB, free: 9.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003367/0.162, allocations: 149.4 kB / 0.6874 GB, free: 9.027 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.162, allocations: 4 kB / 0.6874 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.162, allocations: 4 kB / 0.6874 GB, free: 9.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.162, allocations: 7.938 kB / 0.6874 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1622, allocations: 19.92 kB / 0.6874 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1622, allocations: 4.031 kB / 0.6874 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.1623, allocations: 27.91 kB / 0.6874 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.1623, allocations: 8 kB / 0.6874 GB, free: 8.953 MB / 494.1 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 0.0001264/0.1625, allocations: 130.5 kB / 0.6876 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.1625, allocations: 15.81 kB / 0.6876 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/0.1629, allocations: 155.2 kB / 0.6877 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1629, allocations: 3.938 kB / 0.6877 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1629, allocations: 96 / 0.6877 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1629, allocations: 3.938 kB / 0.6877 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.1632, allocations: 269.5 kB / 0.688 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1632, allocations: 0 / 0.688 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.994e-05/0.1633, allocations: 19.92 kB / 0.688 GB, free: 8.305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1633, allocations: 0 / 0.688 GB, free: 8.305 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.1634, allocations: 7.984 kB / 0.688 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1634, allocations: 3.938 kB / 0.688 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1634, allocations: 0 / 0.688 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.1637, allocations: 231.2 kB / 0.6882 GB, free: 8.051 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.746e-05/0.1638, allocations: 96.84 kB / 0.6883 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.1638, allocations: 8 kB / 0.6883 GB, free: 7.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.164, allocations: 23.92 kB / 0.6884 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.827e-05/0.164, allocations: 23.95 kB / 0.6884 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.1641, allocations: 8 kB / 0.6884 GB, free: 7.875 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.1642, allocations: 148.6 kB / 0.6885 GB, free: 7.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1642, allocations: 0 / 0.6885 GB, free: 7.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.1645, allocations: 35.91 kB / 0.6886 GB, free: 7.695 MB / 494.1 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.0006769/0.1652, allocations: 0.7747 MB / 0.6893 GB, free: 6.891 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003173/0.1655, allocations: 112.1 kB / 0.6894 GB, free: 6.781 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.1655, allocations: 7.938 kB / 0.6894 GB, free: 6.773 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.1656, allocations: 51.91 kB / 0.6895 GB, free: 6.723 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.166, allocations: 21.56 kB / 0.6895 GB, free: 6.703 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.1684, allocations: 1.986 MB / 0.6915 GB, free: 4.645 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.1688, allocations: 0.7357 MB / 0.6922 GB, free: 3.883 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.418e-05/0.1689, allocations: 29.45 kB / 0.6922 GB, free: 3.852 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.169, allocations: 63.41 kB / 0.6923 GB, free: 3.793 MB / 494.1 MB Notification: Performance of SimCode: time 3.81e-07/0.169, allocations: 0 / 0.6923 GB, free: 3.793 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.1948, allocations: 3.974 MB / 0.6961 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.569/7.764, allocations: 7.25 kB / 0.6962 GB, free: 15.99 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)