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.005216/0.005216, allocations: 96.7 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.001477/0.001477, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002457/0.002457, allocations: 275.2 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 0.985/0.985, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002551/0.002551, allocations: 95.84 kB / 0.681 GB, free: 24 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1545, allocations: 86.97 MB / 0.7659 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003209/0.1578, allocations: 2.028 MB / 0.7679 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009358/0.1587, allocations: 0.5688 MB / 0.7684 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.031e-05/0.1588, allocations: 0 / 0.7684 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.1589, allocations: 23.73 kB / 0.7685 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.141e-05/0.159, allocations: 31.59 kB / 0.7685 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.1593, allocations: 79.91 kB / 0.7686 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.1595, allocations: 235.9 kB / 0.7688 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.1598, allocations: 107.9 kB / 0.7689 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.1599, allocations: 95.62 kB / 0.769 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.16, allocations: 111.5 kB / 0.7691 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.1601, allocations: 24 kB / 0.7691 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.895e-05/0.1602, allocations: 32 kB / 0.7692 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.444e-05/0.1602, allocations: 55.78 kB / 0.7692 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.1603, allocations: 103.5 kB / 0.7693 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.1607, allocations: 278.8 kB / 0.7696 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1607, allocations: 4 kB / 0.7696 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1607, allocations: 0 / 0.7696 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.1607, allocations: 0 / 0.7696 GB, free: 5.195 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.0007631/0.1615, allocations: 0.5295 MB / 0.7701 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.1615, allocations: 12.03 kB / 0.7701 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.26e-05/0.1616, allocations: 46.73 kB / 0.7701 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.416e-05/0.1616, allocations: 28.8 kB / 0.7702 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.162, allocations: 244.8 kB / 0.7704 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.162, allocations: 16.38 kB / 0.7704 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.162, allocations: 16.38 kB / 0.7704 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000394/0.1624, allocations: 232.8 kB / 0.7707 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.1624, allocations: 0 / 0.7707 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.1625, allocations: 8 kB / 0.7707 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1625, allocations: 4 kB / 0.7707 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.1628, allocations: 139.9 kB / 0.7708 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009096/0.1637, allocations: 0.5897 MB / 0.7714 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.164, allocations: 118.7 kB / 0.7715 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.1642, allocations: 60.78 kB / 0.7716 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.104e-05/0.1642, allocations: 11.97 kB / 0.7716 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.1643, allocations: 38.62 kB / 0.7716 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1643, allocations: 0 / 0.7716 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0004301/0.1647, allocations: 173.4 kB / 0.7718 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.603e-05/0.1648, allocations: 132.5 kB / 0.7719 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.165, allocations: 219.8 kB / 0.7721 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.165, allocations: 33.7 kB / 0.7721 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.1652, allocations: 140.3 kB / 0.7723 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.1652, allocations: 31.73 kB / 0.7723 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.551e-05/0.1653, allocations: 37.7 kB / 0.7723 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1654, allocations: 326.8 kB / 0.7726 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.1655, allocations: 43.98 kB / 0.7727 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.1657, allocations: 88.27 kB / 0.7728 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.1659, allocations: 97.62 kB / 0.7729 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1659, allocations: 0 / 0.7729 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002984/0.1662, allocations: 161.5 kB / 0.773 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1662, allocations: 4 kB / 0.773 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1662, allocations: 0 / 0.773 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1663, allocations: 11.88 kB / 0.773 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1664, allocations: 15.98 kB / 0.7731 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1664, allocations: 0 / 0.7731 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.1665, allocations: 31.86 kB / 0.7731 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.1666, allocations: 4 kB / 0.7731 GB, free: 1.312 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.0001241/0.1667, allocations: 141.5 kB / 0.7732 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/0.1667, allocations: 15.91 kB / 0.7732 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.1671, allocations: 147.3 kB / 0.7734 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1671, allocations: 3.938 kB / 0.7734 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1671, allocations: 0 / 0.7734 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1671, allocations: 0 / 0.7734 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003179/0.1674, allocations: 269.6 kB / 0.7736 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1674, allocations: 7.875 kB / 0.7736 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.842e-05/0.1675, allocations: 19.98 kB / 0.7737 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1675, allocations: 0 / 0.7737 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1676, allocations: 0 / 0.7737 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1676, allocations: 7.938 kB / 0.7737 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.1676, allocations: 0 / 0.7737 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.1679, allocations: 235.2 kB / 0.7739 GB, free: 416 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.183e-05/0.168, allocations: 101 kB / 0.774 GB, free: 296 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.168, allocations: 7.984 kB / 0.774 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.1682, allocations: 27.92 kB / 0.774 GB, free: 260 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.1683, allocations: 23.95 kB / 0.774 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1683, allocations: 4 kB / 0.7741 GB, free: 232 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001303/0.1684, allocations: 144.6 kB / 0.7742 GB, free: 88 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1684, allocations: 0 / 0.7742 GB, free: 88 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003432/0.1688, allocations: 43.89 kB / 0.7742 GB, free: 44 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.2742/0.443, allocations: 0.7688 MB / 0.775 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003239/0.4433, allocations: 108.4 kB / 0.7751 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4434, allocations: 2.094 kB / 0.7751 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.4435, allocations: 56.64 kB / 0.7751 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.4439, allocations: 21.2 kB / 0.7752 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.4458, allocations: 1.981 MB / 0.7771 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.446, allocations: 0.7313 MB / 0.7778 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.887e-05/0.4461, allocations: 19.94 kB / 0.7778 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.457e-05/0.4462, allocations: 65.02 kB / 0.7779 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of SimCode: time 2e-07/0.4462, allocations: 3.781 kB / 0.7779 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3884/0.8346, allocations: 4.011 MB / 0.7818 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.116/8.951, allocations: 7.438 kB / 0.7818 GB, free: 11.91 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)