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.005913/0.005913, allocations: 97.59 kB / 15.73 MB, free: 6 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.001381/0.001381, allocations: 185.7 kB / 16.67 MB, free: 5.93 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002029/0.002029, allocations: 295.1 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8992/0.8992, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 101.1 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1428, allocations: 86.97 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002959/0.1458, allocations: 2.035 MB / 0.7679 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009651/0.1468, allocations: 0.5572 MB / 0.7684 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.1469, allocations: 4 kB / 0.7684 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.1471, allocations: 23.67 kB / 0.7685 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.881e-05/0.1472, allocations: 35.66 kB / 0.7685 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.1475, allocations: 79.84 kB / 0.7686 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000201/0.1477, allocations: 228 kB / 0.7688 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.1479, allocations: 115.9 kB / 0.7689 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.148, allocations: 99.7 kB / 0.769 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.1481, allocations: 103.4 kB / 0.7691 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.1482, allocations: 24 kB / 0.7691 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.818e-05/0.1482, allocations: 35.98 kB / 0.7692 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.1483, allocations: 51.84 kB / 0.7692 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.533e-05/0.1484, allocations: 107.5 kB / 0.7693 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.1487, allocations: 278.8 kB / 0.7696 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1487, allocations: 0 / 0.7696 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1487, allocations: 0 / 0.7696 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1487, allocations: 0 / 0.7696 GB, free: 5.145 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.0006781/0.1494, allocations: 0.5257 MB / 0.7701 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.1494, allocations: 8.031 kB / 0.7701 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.825e-05/0.1495, allocations: 58.67 kB / 0.7701 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.1496, allocations: 24.8 kB / 0.7702 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.1498, allocations: 252.8 kB / 0.7704 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.1499, allocations: 16.38 kB / 0.7704 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.1499, allocations: 20.38 kB / 0.7704 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.1503, allocations: 216.9 kB / 0.7707 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1503, allocations: 3.938 kB / 0.7707 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.1503, allocations: 8 kB / 0.7707 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1503, allocations: 4 kB / 0.7707 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002815/0.1506, allocations: 147.9 kB / 0.7708 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007822/0.1514, allocations: 0.5897 MB / 0.7714 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.1517, allocations: 122.7 kB / 0.7715 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.1518, allocations: 48.83 kB / 0.7716 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.1519, allocations: 4 kB / 0.7716 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.1519, allocations: 34.5 kB / 0.7716 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 2.534e-06/0.1519, allocations: 3.984 kB / 0.7716 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0004252/0.1523, allocations: 177.6 kB / 0.7718 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.1524, allocations: 132.5 kB / 0.7719 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.1526, allocations: 219.8 kB / 0.7721 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.1526, allocations: 29.7 kB / 0.7721 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.992e-05/0.1527, allocations: 140.3 kB / 0.7723 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.1527, allocations: 35.72 kB / 0.7723 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.1528, allocations: 41.7 kB / 0.7723 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.1529, allocations: 330.8 kB / 0.7726 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.153, allocations: 43.97 kB / 0.7727 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.1532, allocations: 84.2 kB / 0.7728 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.1534, allocations: 97.69 kB / 0.7729 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1534, allocations: 0 / 0.7729 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002872/0.1537, allocations: 160.5 kB / 0.773 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1537, allocations: 10.19 kB / 0.773 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1537, allocations: 0 / 0.773 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1537, allocations: 7.922 kB / 0.773 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.1538, allocations: 15.98 kB / 0.773 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1538, allocations: 4 kB / 0.7731 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.154, allocations: 31.91 kB / 0.7731 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.154, allocations: 4.375 kB / 0.7731 GB, free: 1.262 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.0001066/0.1541, allocations: 138.4 kB / 0.7732 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.1542, allocations: 15.91 kB / 0.7732 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.1545, allocations: 146.9 kB / 0.7734 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1545, allocations: 7.938 kB / 0.7734 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1545, allocations: 4 kB / 0.7734 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.1545, allocations: 7.984 kB / 0.7734 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.1548, allocations: 265.5 kB / 0.7736 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1548, allocations: 0 / 0.7736 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.195e-05/0.1549, allocations: 8 kB / 0.7737 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.1549, allocations: 7.984 kB / 0.7737 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1549, allocations: 4 kB / 0.7737 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1549, allocations: 3.938 kB / 0.7737 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1549, allocations: 0 / 0.7737 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.1552, allocations: 239.2 kB / 0.7739 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/0.1553, allocations: 96.95 kB / 0.774 GB, free: 244 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.1553, allocations: 0 / 0.774 GB, free: 244 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.1555, allocations: 27.91 kB / 0.774 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.1555, allocations: 23.97 kB / 0.774 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.1556, allocations: 3.984 kB / 0.774 GB, free: 188 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001102/0.1557, allocations: 156.5 kB / 0.7742 GB, free: 32 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1557, allocations: 0 / 0.7742 GB, free: 32 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.3111/0.4668, allocations: 37.86 kB / 0.7742 GB, free: 15.38 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.0006693/0.4675, allocations: 0.7676 MB / 0.775 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003554/0.4678, allocations: 110.9 kB / 0.7751 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4678, allocations: 0.875 kB / 0.7751 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.468, allocations: 53.03 kB / 0.7751 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.4684, allocations: 23.22 kB / 0.7752 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.4705, allocations: 1.989 MB / 0.7771 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.4707, allocations: 0.7317 MB / 0.7778 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.581e-05/0.4708, allocations: 18.58 kB / 0.7778 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.4709, allocations: 65.45 kB / 0.7779 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.4709, allocations: 0.6562 kB / 0.7779 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.493, allocations: 4.021 MB / 0.7818 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.176/7.669, allocations: 5.375 kB / 0.7818 GB, free: 12.32 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)