Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.004521/0.004521, allocations: 101 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 194.5 kB / 16.68 MB, free: 5.969 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9145/0.9145, allocations: 143.3 MB / 433.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 66.03 kB / 0.5953 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1537, allocations: 82.03 MB / 0.6754 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003325/0.1571, allocations: 2.031 MB / 0.6774 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009956/0.1581, allocations: 0.5688 MB / 0.678 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.863e-05/0.1582, allocations: 4 kB / 0.678 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.1583, allocations: 19.73 kB / 0.678 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.936e-05/0.1584, allocations: 43.59 kB / 0.678 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.1587, allocations: 79.84 kB / 0.6781 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.1589, allocations: 224 kB / 0.6783 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.1592, allocations: 115.6 kB / 0.6784 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.1593, allocations: 95.58 kB / 0.6785 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.1595, allocations: 99.53 kB / 0.6786 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.048e-05/0.1595, allocations: 24 kB / 0.6786 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.33e-05/0.1596, allocations: 35.98 kB / 0.6787 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.061e-05/0.1597, allocations: 55.78 kB / 0.6787 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.1598, allocations: 103.4 kB / 0.6788 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003507/0.1602, allocations: 291.1 kB / 0.6791 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1602, allocations: 0 / 0.6791 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1602, allocations: 0 / 0.6791 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.938e-06/0.1602, allocations: 4 kB / 0.6791 GB, free: 6.973 MB / 0.5137 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.0008039/0.161, allocations: 0.5217 MB / 0.6796 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.161, allocations: 16.02 kB / 0.6796 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.296e-05/0.1611, allocations: 50.73 kB / 0.6797 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.447e-05/0.1612, allocations: 28.8 kB / 0.6797 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.1615, allocations: 253.4 kB / 0.6799 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.1615, allocations: 12.38 kB / 0.68 GB, free: 6 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.1616, allocations: 16.38 kB / 0.68 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004207/0.162, allocations: 232.6 kB / 0.6802 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.162, allocations: 3.984 kB / 0.6802 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.1621, allocations: 8 kB / 0.6802 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.1621, allocations: 4 kB / 0.6802 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/0.1624, allocations: 143.9 kB / 0.6803 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009768/0.1634, allocations: 0.5973 MB / 0.6809 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.1638, allocations: 114.8 kB / 0.681 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.1639, allocations: 48.84 kB / 0.6811 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.164, allocations: 8.125 kB / 0.6811 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.164, allocations: 30.56 kB / 0.6811 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.626e-05/0.164, allocations: 4 kB / 0.6811 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0004811/0.1645, allocations: 173.7 kB / 0.6813 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.1646, allocations: 132.5 kB / 0.6814 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.1648, allocations: 211 kB / 0.6816 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.1649, allocations: 33.8 kB / 0.6817 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.165, allocations: 144.3 kB / 0.6818 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.165, allocations: 35.72 kB / 0.6818 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-05/0.1651, allocations: 41.7 kB / 0.6819 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1653, allocations: 330.8 kB / 0.6822 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.1654, allocations: 39.98 kB / 0.6822 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.1656, allocations: 84.27 kB / 0.6823 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.1658, allocations: 104.4 kB / 0.6824 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1658, allocations: 0 / 0.6824 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003379/0.1662, allocations: 161.4 kB / 0.6826 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1662, allocations: 4 kB / 0.6826 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1662, allocations: 0 / 0.6826 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1662, allocations: 7.938 kB / 0.6826 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1663, allocations: 15.98 kB / 0.6826 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1663, allocations: 7.969 kB / 0.6826 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.1665, allocations: 31.88 kB / 0.6826 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.1665, allocations: 7.984 kB / 0.6826 GB, free: 3.078 MB / 0.5137 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.000132/0.1667, allocations: 136.3 kB / 0.6828 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.1667, allocations: 15.91 kB / 0.6828 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003771/0.1671, allocations: 147 kB / 0.6829 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1671, allocations: 3.938 kB / 0.6829 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1671, allocations: 0 / 0.6829 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1671, allocations: 3.938 kB / 0.6829 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.1674, allocations: 265.5 kB / 0.6832 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1675, allocations: 0 / 0.6832 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.916e-05/0.1676, allocations: 15.98 kB / 0.6832 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1676, allocations: 0 / 0.6832 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.1676, allocations: 8 kB / 0.6832 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.1676, allocations: 3.938 kB / 0.6832 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1676, allocations: 0 / 0.6832 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/0.168, allocations: 235.3 kB / 0.6834 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-05/0.168, allocations: 93.02 kB / 0.6835 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.1681, allocations: 4 kB / 0.6835 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.1682, allocations: 27.91 kB / 0.6835 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.98e-05/0.1683, allocations: 19.97 kB / 0.6836 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.1684, allocations: 11.98 kB / 0.6836 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001423/0.1685, allocations: 143.2 kB / 0.6837 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1685, allocations: 4 kB / 0.6837 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003498/0.1689, allocations: 39.89 kB / 0.6837 GB, free: 1.828 MB / 0.5137 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.0007111/0.1696, allocations: 0.7749 MB / 0.6845 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003298/0.1699, allocations: 107.9 kB / 0.6846 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1699, allocations: 4 kB / 0.6846 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.1701, allocations: 51.92 kB / 0.6847 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.1704, allocations: 33.48 kB / 0.6847 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.173, allocations: 2.002 MB / 0.6866 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.1734, allocations: 0.7358 MB / 0.6874 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.344e-05/0.1735, allocations: 17.42 kB / 0.6874 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.1736, allocations: 63.41 kB / 0.6874 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.1736, allocations: 4 kB / 0.6874 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.1997, allocations: 3.998 MB / 0.6914 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.264, allocations: 6.906 kB / 0.6914 GB, free: 10.09 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)