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.007237/0.007237, allocations: 101.2 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.00167/0.00167, allocations: 196.1 kB / 16.67 MB, free: 5.977 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.286/1.286, 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.00201/0.00201, allocations: 278.9 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9045/0.9045, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 97.06 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1612, allocations: 86.98 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003191/0.1644, allocations: 2.037 MB / 0.7679 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1655, allocations: 0.5572 MB / 0.7684 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.1656, allocations: 0 / 0.7684 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.1658, allocations: 23.67 kB / 0.7685 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.888e-05/0.1659, allocations: 35.67 kB / 0.7685 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.1662, allocations: 83.84 kB / 0.7686 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.1665, allocations: 228 kB / 0.7688 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.1667, allocations: 115.8 kB / 0.7689 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.1668, allocations: 87.69 kB / 0.769 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.167, allocations: 103.5 kB / 0.7691 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.167, allocations: 31.94 kB / 0.7691 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.054e-05/0.1671, allocations: 35.98 kB / 0.7692 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.268e-05/0.1672, allocations: 51.83 kB / 0.7692 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.496e-05/0.1673, allocations: 103.5 kB / 0.7693 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.1676, allocations: 275 kB / 0.7696 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1676, allocations: 0 / 0.7696 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1676, allocations: 0 / 0.7696 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.1676, allocations: 0 / 0.7696 GB, free: 5.168 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.0007315/0.1684, allocations: 0.5181 MB / 0.7701 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1684, allocations: 12.03 kB / 0.7701 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.677e-05/0.1685, allocations: 50.73 kB / 0.7701 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.884e-05/0.1685, allocations: 32.5 kB / 0.7702 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.1688, allocations: 256.7 kB / 0.7704 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.1688, allocations: 16.38 kB / 0.7704 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.1689, allocations: 20.38 kB / 0.7704 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003791/0.1693, allocations: 220.9 kB / 0.7706 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1693, allocations: 0 / 0.7706 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.1693, allocations: 4 kB / 0.7707 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1693, allocations: 4 kB / 0.7707 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002853/0.1696, allocations: 147.9 kB / 0.7708 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008557/0.1705, allocations: 0.5896 MB / 0.7714 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.1708, allocations: 122.7 kB / 0.7715 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.1709, allocations: 48.84 kB / 0.7715 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.171, allocations: 0 / 0.7715 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.171, allocations: 34.56 kB / 0.7716 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 2.344e-06/0.171, allocations: 0 / 0.7716 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0004207/0.1714, allocations: 181.4 kB / 0.7717 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/0.1715, allocations: 128.5 kB / 0.7719 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.1717, allocations: 219.7 kB / 0.7721 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.1717, allocations: 33.7 kB / 0.7721 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.994e-05/0.1718, allocations: 144.2 kB / 0.7722 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.1719, allocations: 31.55 kB / 0.7723 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.466e-05/0.1719, allocations: 37.7 kB / 0.7723 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.172, allocations: 326.8 kB / 0.7726 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.1722, allocations: 47.97 kB / 0.7727 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.1723, allocations: 88.2 kB / 0.7728 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.1725, allocations: 89.69 kB / 0.7728 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1725, allocations: 4 kB / 0.7728 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002872/0.1728, allocations: 160.5 kB / 0.773 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1728, allocations: 10.17 kB / 0.773 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1728, allocations: 384 / 0.773 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1729, allocations: 3.938 kB / 0.773 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.173, allocations: 19.98 kB / 0.773 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.173, allocations: 4 kB / 0.773 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.1731, allocations: 35.8 kB / 0.7731 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.1731, allocations: 4 kB / 0.7731 GB, free: 1.293 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.000117/0.1733, allocations: 138.4 kB / 0.7732 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.578e-05/0.1733, allocations: 19.81 kB / 0.7732 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.1736, allocations: 143 kB / 0.7734 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1737, allocations: 3.938 kB / 0.7734 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1737, allocations: 0 / 0.7734 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1737, allocations: 7.984 kB / 0.7734 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.174, allocations: 269.5 kB / 0.7736 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.174, allocations: 0 / 0.7736 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.493e-05/0.1741, allocations: 15.98 kB / 0.7736 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1741, allocations: 0 / 0.7736 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1741, allocations: 4 kB / 0.7736 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1741, allocations: 3.938 kB / 0.7736 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1741, allocations: 4 kB / 0.7737 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.1744, allocations: 239.1 kB / 0.7739 GB, free: 392 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.715e-05/0.1745, allocations: 96.86 kB / 0.774 GB, free: 276 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.1745, allocations: 4 kB / 0.774 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.1747, allocations: 27.91 kB / 0.774 GB, free: 244 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.1747, allocations: 19.97 kB / 0.774 GB, free: 224 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.1748, allocations: 7.984 kB / 0.774 GB, free: 216 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001268/0.1749, allocations: 144.6 kB / 0.7742 GB, free: 72 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.423e-06/0.1749, allocations: 4 kB / 0.7742 GB, free: 68 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002707/0.1752, allocations: 39.84 kB / 0.7742 GB, free: 28 kB / 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.3287/0.5039, allocations: 0.7638 MB / 0.775 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003543/0.5043, allocations: 112.8 kB / 0.7751 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5043, allocations: 0.75 kB / 0.7751 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.5044, allocations: 57.55 kB / 0.7751 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.5048, allocations: 24.22 kB / 0.7751 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.5069, allocations: 1.979 MB / 0.7771 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.5071, allocations: 0.7304 MB / 0.7778 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.562e-05/0.5071, allocations: 18.42 kB / 0.7778 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.75e-05/0.5073, allocations: 67.86 kB / 0.7779 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.5073, allocations: 2.562 kB / 0.7779 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.5268, allocations: 4.1 MB / 0.7819 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.44/7.967, allocations: 4.719 kB / 0.7819 GB, free: 11.84 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)