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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.006149/0.006149, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001431/0.001431, allocations: 199.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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.9616/0.9616, allocations: 143 MB / 433.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 67.88 kB / 0.5951 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3685, allocations: 82.02 MB / 0.6752 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003547/0.3721, allocations: 2.031 MB / 0.6772 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.3734, allocations: 0.5662 MB / 0.6777 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.3736, allocations: 7.5 kB / 0.6777 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.3737, allocations: 23.67 kB / 0.6777 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.3739, allocations: 40.06 kB / 0.6778 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.3742, allocations: 78.47 kB / 0.6778 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.3745, allocations: 231.4 kB / 0.6781 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/0.3747, allocations: 118.6 kB / 0.6782 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.3749, allocations: 88.59 kB / 0.6783 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.375, allocations: 101.7 kB / 0.6784 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/0.3751, allocations: 24.22 kB / 0.6784 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.317e-05/0.3752, allocations: 32.84 kB / 0.6784 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.621e-05/0.3753, allocations: 55.05 kB / 0.6785 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.3754, allocations: 109 kB / 0.6786 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.3758, allocations: 278.1 kB / 0.6788 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.3758, allocations: 8 kB / 0.6788 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3758, allocations: 5.625 kB / 0.6789 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.3758, allocations: 7.922 kB / 0.6789 GB, free: 14.18 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.0009406/0.3768, allocations: 0.5162 MB / 0.6794 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.3768, allocations: 9.656 kB / 0.6794 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.377e-05/0.3769, allocations: 53.45 kB / 0.6794 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.891e-05/0.377, allocations: 29.83 kB / 0.6795 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.3773, allocations: 248.6 kB / 0.6797 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.3774, allocations: 16.03 kB / 0.6797 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.3774, allocations: 15.56 kB / 0.6797 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.3778, allocations: 232.8 kB / 0.6799 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3778, allocations: 1.156 kB / 0.6799 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.3779, allocations: 13.09 kB / 0.68 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.3779, allocations: 4.625 kB / 0.68 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003239/0.3782, allocations: 136.3 kB / 0.6801 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009464/0.3792, allocations: 0.5974 MB / 0.6807 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.3795, allocations: 116.6 kB / 0.6808 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.3797, allocations: 51.73 kB / 0.6808 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.3797, allocations: 7.141 kB / 0.6808 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.3797, allocations: 36 kB / 0.6809 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.3797, allocations: 0 / 0.6809 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0004605/0.3802, allocations: 169.8 kB / 0.681 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/0.3803, allocations: 133.8 kB / 0.6812 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.3805, allocations: 218 kB / 0.6814 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.3805, allocations: 33.08 kB / 0.6814 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.692e-05/0.3806, allocations: 143.6 kB / 0.6815 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.3807, allocations: 32.11 kB / 0.6816 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.71e-05/0.3808, allocations: 37.92 kB / 0.6816 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.3809, allocations: 327.5 kB / 0.6819 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.381, allocations: 48.09 kB / 0.682 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.3812, allocations: 83.11 kB / 0.682 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.3814, allocations: 91.09 kB / 0.6821 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3814, allocations: 9.25 kB / 0.6821 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003164/0.3817, allocations: 158 kB / 0.6823 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3817, allocations: 4.656 kB / 0.6823 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3818, allocations: 5.156 kB / 0.6823 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.3818, allocations: 9.156 kB / 0.6823 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3819, allocations: 20.89 kB / 0.6823 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.3819, allocations: 1.125 kB / 0.6823 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.3821, allocations: 29.92 kB / 0.6824 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.3821, allocations: 3.406 kB / 0.6824 GB, free: 11.19 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.0001259/0.3822, allocations: 135.6 kB / 0.6825 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.884e-05/0.3823, allocations: 20.86 kB / 0.6825 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003404/0.3826, allocations: 151.2 kB / 0.6827 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.3826, allocations: 5.062 kB / 0.6827 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.3827, allocations: 1.094 kB / 0.6827 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3827, allocations: 0 / 0.6827 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.383, allocations: 268.1 kB / 0.6829 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.383, allocations: 1.156 kB / 0.6829 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.3831, allocations: 18.61 kB / 0.6829 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3831, allocations: 1.156 kB / 0.6829 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.3831, allocations: 13.05 kB / 0.6829 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.3831, allocations: 7.922 kB / 0.683 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3831, allocations: 1.219 kB / 0.683 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.3835, allocations: 232.3 kB / 0.6832 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.308e-05/0.3835, allocations: 89.98 kB / 0.6833 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.3836, allocations: 6.438 kB / 0.6833 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.3837, allocations: 27.72 kB / 0.6833 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.3838, allocations: 20.97 kB / 0.6833 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.3838, allocations: 3.375 kB / 0.6833 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001331/0.384, allocations: 154.9 kB / 0.6835 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.384, allocations: 0 / 0.6835 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002994/0.3843, allocations: 36.77 kB / 0.6835 GB, free: 10.21 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.0007163/0.385, allocations: 0.7748 MB / 0.6843 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003305/0.3854, allocations: 114.2 kB / 0.6844 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3854, allocations: 0 / 0.6844 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.3855, allocations: 54.69 kB / 0.6844 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.3859, allocations: 27.78 kB / 0.6844 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.3883, allocations: 1.989 MB / 0.6864 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.3886, allocations: 0.733 MB / 0.6871 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.51e-05/0.3887, allocations: 20.42 kB / 0.6871 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.3888, allocations: 65.03 kB / 0.6872 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.3888, allocations: 0 / 0.6872 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.4088, allocations: 4.014 MB / 0.6911 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.494/7.903, allocations: 6.297 kB / 0.6911 GB, free: 5.051 MB / 0.5137 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)