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.004833/0.004833, allocations: 101 kB / 15.73 MB, free: 6.004 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.001251/0.001251, allocations: 187.1 kB / 16.67 MB, free: 5.922 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002433/0.002433, allocations: 290.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9571/0.9571, allocations: 169.2 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002529/0.002529, allocations: 95.84 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.4267, allocations: 86.98 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003448/0.4301, allocations: 2.029 MB / 0.7679 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.4313, allocations: 0.5611 MB / 0.7684 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.4314, allocations: 7.938 kB / 0.7684 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.4316, allocations: 23.72 kB / 0.7685 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.574e-05/0.4317, allocations: 31.61 kB / 0.7685 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.432, allocations: 83.84 kB / 0.7686 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.4323, allocations: 232 kB / 0.7688 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002185/0.4325, allocations: 115.4 kB / 0.7689 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.4326, allocations: 87.64 kB / 0.769 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.4328, allocations: 99.53 kB / 0.7691 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.4328, allocations: 27.94 kB / 0.7691 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.993e-05/0.4329, allocations: 32 kB / 0.7691 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.33e-05/0.433, allocations: 63.81 kB / 0.7692 GB, free: 472 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.4331, allocations: 107.4 kB / 0.7693 GB, free: 364 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.4334, allocations: 276.1 kB / 0.7696 GB, free: 92 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4334, allocations: 0 / 0.7696 GB, free: 92 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4335, allocations: 0 / 0.7696 GB, free: 92 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.4335, allocations: 0 / 0.7696 GB, free: 92 kB / 0.5294 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.0007999/0.4343, allocations: 0.5257 MB / 0.7701 GB, free: 15.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.4343, allocations: 12.03 kB / 0.7701 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.625e-05/0.4344, allocations: 50.73 kB / 0.7701 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.326e-05/0.4344, allocations: 24.8 kB / 0.7702 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.4348, allocations: 256.8 kB / 0.7704 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.4348, allocations: 16.38 kB / 0.7704 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.4348, allocations: 20.31 kB / 0.7705 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004156/0.4353, allocations: 233.4 kB / 0.7707 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4353, allocations: 0 / 0.7707 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.4353, allocations: 4 kB / 0.7707 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.4353, allocations: 4 kB / 0.7707 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003125/0.4356, allocations: 139.9 kB / 0.7708 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009182/0.4366, allocations: 0.5936 MB / 0.7714 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.4369, allocations: 122.7 kB / 0.7715 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.4371, allocations: 56.84 kB / 0.7716 GB, free: 13.87 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.4371, allocations: 3.984 kB / 0.7716 GB, free: 13.87 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.4371, allocations: 34.56 kB / 0.7716 GB, free: 13.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.4371, allocations: 0 / 0.7716 GB, free: 13.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004481/0.4376, allocations: 169.6 kB / 0.7718 GB, free: 13.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/0.4377, allocations: 128.5 kB / 0.7719 GB, free: 13.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.4379, allocations: 227.1 kB / 0.7721 GB, free: 13.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.4379, allocations: 29.7 kB / 0.7721 GB, free: 13.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.438, allocations: 148.3 kB / 0.7723 GB, free: 13.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.4381, allocations: 27.75 kB / 0.7723 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.962e-05/0.4382, allocations: 41.69 kB / 0.7723 GB, free: 13.01 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4383, allocations: 322.8 kB / 0.7726 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.4384, allocations: 47.92 kB / 0.7727 GB, free: 12.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.4386, allocations: 91.38 kB / 0.7728 GB, free: 12.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.4388, allocations: 97.62 kB / 0.7729 GB, free: 12.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4388, allocations: 0 / 0.7729 GB, free: 12.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003022/0.4391, allocations: 157.5 kB / 0.773 GB, free: 12.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.4391, allocations: 12.03 kB / 0.773 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4392, allocations: 0 / 0.773 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4392, allocations: 3.984 kB / 0.773 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.4393, allocations: 19.97 kB / 0.7731 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.4393, allocations: 4.375 kB / 0.7731 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.4394, allocations: 27.86 kB / 0.7731 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.4395, allocations: 8 kB / 0.7731 GB, free: 12.2 MB / 0.545 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.0001283/0.4396, allocations: 137.8 kB / 0.7732 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.4396, allocations: 19.84 kB / 0.7732 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/0.44, allocations: 147 kB / 0.7734 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.44, allocations: 7.938 kB / 0.7734 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.44, allocations: 0 / 0.7734 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.44, allocations: 0 / 0.7734 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.4403, allocations: 269.5 kB / 0.7737 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4403, allocations: 0 / 0.7737 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.359e-05/0.4404, allocations: 19.98 kB / 0.7737 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4404, allocations: 0 / 0.7737 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.4404, allocations: 0 / 0.7737 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.4404, allocations: 7.922 kB / 0.7737 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4404, allocations: 0 / 0.7737 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.4408, allocations: 231.3 kB / 0.7739 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.4408, allocations: 97 kB / 0.774 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.4409, allocations: 8 kB / 0.774 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.441, allocations: 19.92 kB / 0.774 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.001e-05/0.4411, allocations: 27.95 kB / 0.774 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.4411, allocations: 4 kB / 0.774 GB, free: 11.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001245/0.4413, allocations: 143.2 kB / 0.7742 GB, free: 10.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.953e-06/0.4413, allocations: 0 / 0.7742 GB, free: 10.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002549/0.4415, allocations: 43.83 kB / 0.7742 GB, free: 10.94 MB / 0.545 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.0006617/0.4422, allocations: 0.7827 MB / 0.775 GB, free: 10.13 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003009/0.4425, allocations: 107.9 kB / 0.7751 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4425, allocations: 4.062 kB / 0.7751 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.4426, allocations: 51.98 kB / 0.7751 GB, free: 9.969 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.443, allocations: 28.53 kB / 0.7752 GB, free: 9.941 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.4453, allocations: 1.989 MB / 0.7771 GB, free: 7.875 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.4457, allocations: 0.7283 MB / 0.7778 GB, free: 7.121 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.624e-05/0.4458, allocations: 17.42 kB / 0.7778 GB, free: 7.105 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.4459, allocations: 67.41 kB / 0.7779 GB, free: 7.039 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.4459, allocations: 0 / 0.7779 GB, free: 7.039 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.4711, allocations: 4.01 MB / 0.7818 GB, free: 3.227 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.496/7.967, allocations: 9.578 kB / 0.7818 GB, free: 3.223 MB / 0.545 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)