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.005198/0.005204, allocations: 95.48 kB / 15.73 MB, free: 6.484 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.001271/0.001271, allocations: 191.3 kB / 16.67 MB, free: 6.391 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002365/0.002365, allocations: 283 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.005/1.005, allocations: 178.6 MB / 0.5074 GB, free: 4.492 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002567/0.002567, allocations: 103.8 kB / 0.6943 GB, free: 3.617 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4489, allocations: 89.13 MB / 0.7813 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003122/0.4521, allocations: 2.037 MB / 0.7833 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009502/0.4531, allocations: 0.5668 MB / 0.7839 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.365e-05/0.4532, allocations: 2.656 kB / 0.7839 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.4533, allocations: 24.28 kB / 0.7839 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.36e-05/0.4534, allocations: 34.41 kB / 0.7839 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.4537, allocations: 84.52 kB / 0.784 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.4539, allocations: 227.3 kB / 0.7842 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/0.4541, allocations: 110.2 kB / 0.7843 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.4543, allocations: 92.84 kB / 0.7844 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.4544, allocations: 111.3 kB / 0.7845 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.4545, allocations: 24.16 kB / 0.7846 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.086e-05/0.4545, allocations: 29.08 kB / 0.7846 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.371e-05/0.4546, allocations: 56.94 kB / 0.7846 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.4547, allocations: 101.8 kB / 0.7847 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.4551, allocations: 286 kB / 0.785 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4551, allocations: 1 kB / 0.785 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4551, allocations: 0.8906 kB / 0.785 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.4551, allocations: 0 / 0.785 GB, free: 11.41 MB / 0.5606 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.0007637/0.4559, allocations: 0.5188 MB / 0.7855 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.4559, allocations: 8.938 kB / 0.7855 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.456, allocations: 57.83 kB / 0.7856 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.456, allocations: 25.45 kB / 0.7856 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.4564, allocations: 261.9 kB / 0.7859 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.4564, allocations: 12.75 kB / 0.7859 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.4564, allocations: 23.12 kB / 0.7859 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.4568, allocations: 223.6 kB / 0.7861 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.4568, allocations: 0 / 0.7861 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.4569, allocations: 6.531 kB / 0.7861 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.4569, allocations: 4.25 kB / 0.7861 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.4572, allocations: 147.6 kB / 0.7863 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008934/0.4581, allocations: 0.59 MB / 0.7868 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.4584, allocations: 124.3 kB / 0.787 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.4586, allocations: 54.05 kB / 0.787 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.4586, allocations: 2.938 kB / 0.787 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.4586, allocations: 36.31 kB / 0.787 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 2.925e-06/0.4586, allocations: 3.984 kB / 0.787 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0004481/0.4591, allocations: 177.1 kB / 0.7872 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.4592, allocations: 131.4 kB / 0.7873 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.4594, allocations: 209.9 kB / 0.7875 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.4594, allocations: 32.55 kB / 0.7876 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.4595, allocations: 145 kB / 0.7877 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.4596, allocations: 41.77 kB / 0.7878 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.585e-05/0.4596, allocations: 35.64 kB / 0.7878 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4598, allocations: 329.1 kB / 0.7881 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.4599, allocations: 49.86 kB / 0.7881 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.4601, allocations: 90.69 kB / 0.7882 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.4603, allocations: 84.27 kB / 0.7883 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4603, allocations: 5.125 kB / 0.7883 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002998/0.4606, allocations: 159.5 kB / 0.7885 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.4606, allocations: 4.656 kB / 0.7885 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4606, allocations: 1.984 kB / 0.7885 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.4606, allocations: 5.094 kB / 0.7885 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.4607, allocations: 20.16 kB / 0.7885 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.4607, allocations: 1.859 kB / 0.7885 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.4609, allocations: 28.14 kB / 0.7885 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.4609, allocations: 3.297 kB / 0.7885 GB, free: 8.746 MB / 0.5606 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.0001234/0.461, allocations: 142.6 kB / 0.7887 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.4611, allocations: 16 kB / 0.7887 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000322/0.4614, allocations: 145.7 kB / 0.7888 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.4614, allocations: 6.078 kB / 0.7888 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4614, allocations: 4 kB / 0.7888 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4615, allocations: 0.75 kB / 0.7888 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.4617, allocations: 269.7 kB / 0.7891 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4618, allocations: 0 / 0.7891 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.871e-05/0.4619, allocations: 14.48 kB / 0.7891 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4619, allocations: 1.812 kB / 0.7891 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.4619, allocations: 1.312 kB / 0.7891 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.4619, allocations: 6.391 kB / 0.7891 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4619, allocations: 0 / 0.7891 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.4622, allocations: 235.2 kB / 0.7893 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.689e-05/0.4623, allocations: 91.48 kB / 0.7894 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.4623, allocations: 11.19 kB / 0.7894 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.4625, allocations: 25.33 kB / 0.7895 GB, free: 8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.4626, allocations: 23.31 kB / 0.7895 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.4626, allocations: 11.95 kB / 0.7895 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001306/0.4627, allocations: 158.6 kB / 0.7896 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4627, allocations: 1.062 kB / 0.7896 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002567/0.463, allocations: 40.98 kB / 0.7897 GB, free: 7.871 MB / 0.5606 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.0006723/0.4637, allocations: 0.7676 MB / 0.7904 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003273/0.464, allocations: 111 kB / 0.7905 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.464, allocations: 0.6562 kB / 0.7905 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.4642, allocations: 52.34 kB / 0.7906 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.4645, allocations: 26.69 kB / 0.7906 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.4669, allocations: 1.994 MB / 0.7926 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.4673, allocations: 0.7408 MB / 0.7933 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.429e-05/0.4674, allocations: 19.41 kB / 0.7933 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.4675, allocations: 65.48 kB / 0.7934 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.4675, allocations: 1.094 kB / 0.7934 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.4926, allocations: 3.996 MB / 0.7973 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.618/8.111, allocations: 12.7 kB / 0.7973 GB, free: 3.742 MB / 0.5606 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)