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: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 116.8 kB / 16.37 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.001849/0.001849, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00222/0.00222, allocations: 275.4 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9315/0.9315, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 94.38 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.157, allocations: 86.98 MB / 0.6816 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003034/0.1601, allocations: 2.022 MB / 0.6836 GB, free: 5.398 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009322/0.1611, allocations: 0.5727 MB / 0.6842 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.631e-05/0.1611, allocations: 4 kB / 0.6842 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.1613, allocations: 19.73 kB / 0.6842 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.054e-05/0.1613, allocations: 35.61 kB / 0.6842 GB, free: 4.762 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.1617, allocations: 79.89 kB / 0.6843 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.1619, allocations: 228 kB / 0.6845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.1621, allocations: 111.6 kB / 0.6846 GB, free: 4.348 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.1623, allocations: 103.6 kB / 0.6847 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.1624, allocations: 99.53 kB / 0.6848 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.879e-05/0.1624, allocations: 24 kB / 0.6848 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.416e-05/0.1625, allocations: 36 kB / 0.6849 GB, free: 4.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.313e-05/0.1626, allocations: 55.83 kB / 0.6849 GB, free: 4.035 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.798e-05/0.1627, allocations: 111.3 kB / 0.685 GB, free: 3.926 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.163, allocations: 271 kB / 0.6853 GB, free: 3.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.163, allocations: 4 kB / 0.6853 GB, free: 3.656 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.163, allocations: 0 / 0.6853 GB, free: 3.656 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.163, allocations: 0 / 0.6853 GB, free: 3.656 MB / 494.1 MB 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.0006847/0.1637, allocations: 0.5181 MB / 0.6858 GB, free: 3.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.1637, allocations: 8.031 kB / 0.6858 GB, free: 3.082 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.1638, allocations: 24.66 kB / 0.6858 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.1641, allocations: 256.6 kB / 0.6861 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.1641, allocations: 12.38 kB / 0.6861 GB, free: 2.754 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.1641, allocations: 20.38 kB / 0.6861 GB, free: 2.734 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.1645, allocations: 237.5 kB / 0.6863 GB, free: 2.484 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1645, allocations: 3.938 kB / 0.6863 GB, free: 2.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.1645, allocations: 4 kB / 0.6863 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1645, allocations: 4 kB / 0.6863 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.1648, allocations: 139.9 kB / 0.6865 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008274/0.1657, allocations: 0.5855 MB / 0.687 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.166, allocations: 122.7 kB / 0.6872 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.1661, allocations: 48.84 kB / 0.6872 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.1662, allocations: 0 / 0.6872 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.1662, allocations: 38.56 kB / 0.6872 GB, free: 1.473 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1662, allocations: 0 / 0.6872 GB, free: 1.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004215/0.1666, allocations: 169.6 kB / 0.6874 GB, free: 1.301 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.1667, allocations: 136.4 kB / 0.6875 GB, free: 1.137 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.1669, allocations: 214.9 kB / 0.6877 GB, free: 0.918 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.1669, allocations: 33.7 kB / 0.6878 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.311e-05/0.167, allocations: 152.1 kB / 0.6879 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.167, allocations: 27.64 kB / 0.6879 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-05/0.1671, allocations: 33.7 kB / 0.688 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.806e-05/0.1672, allocations: 330.8 kB / 0.6883 GB, free: 336 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.1673, allocations: 47.98 kB / 0.6883 GB, free: 288 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.1675, allocations: 84.27 kB / 0.6884 GB, free: 188 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.1677, allocations: 89.62 kB / 0.6885 GB, free: 92 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1677, allocations: 0 / 0.6885 GB, free: 92 kB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.2527/0.4204, allocations: 148.8 kB / 0.6886 GB, free: 17.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.4204, allocations: 7.234 kB / 0.6887 GB, free: 17.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4205, allocations: 0.625 kB / 0.6887 GB, free: 17.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.4205, allocations: 1.125 kB / 0.6887 GB, free: 17.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.4206, allocations: 21.61 kB / 0.6887 GB, free: 17.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.4207, allocations: 3.656 kB / 0.6887 GB, free: 17.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.4209, allocations: 31.33 kB / 0.6887 GB, free: 17.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.4209, allocations: 8.625 kB / 0.6887 GB, free: 17.96 MB / 494.1 MB 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.000145/0.421, allocations: 137 kB / 0.6888 GB, free: 17.85 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.4211, allocations: 20.48 kB / 0.6889 GB, free: 17.85 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003744/0.4215, allocations: 148.4 kB / 0.689 GB, free: 17.81 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.4215, allocations: 2.891 kB / 0.689 GB, free: 17.81 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4215, allocations: 1.25 kB / 0.689 GB, free: 17.81 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4215, allocations: 0.6562 kB / 0.689 GB, free: 17.81 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.4218, allocations: 276.5 kB / 0.6893 GB, free: 17.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4218, allocations: 4.125 kB / 0.6893 GB, free: 17.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.4219, allocations: 17.89 kB / 0.6893 GB, free: 17.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4219, allocations: 2.016 kB / 0.6893 GB, free: 17.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.4219, allocations: 2.484 kB / 0.6893 GB, free: 17.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4219, allocations: 1.281 kB / 0.6893 GB, free: 17.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.422, allocations: 5.469 kB / 0.6893 GB, free: 17.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.4222, allocations: 225.9 kB / 0.6895 GB, free: 17.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.4223, allocations: 105.2 kB / 0.6896 GB, free: 17.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.4223, allocations: 1.875 kB / 0.6896 GB, free: 17.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.4225, allocations: 21.66 kB / 0.6896 GB, free: 17.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/0.4226, allocations: 26.45 kB / 0.6897 GB, free: 17.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.4226, allocations: 6.219 kB / 0.6897 GB, free: 17.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.4227, allocations: 148 kB / 0.6898 GB, free: 17.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4227, allocations: 4.344 kB / 0.6898 GB, free: 17.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002938/0.423, allocations: 38.97 kB / 0.6899 GB, free: 17.32 MB / 494.1 MB 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.0001472/0.4232, allocations: 115.6 kB / 0.69 GB, free: 17.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003093/0.4235, allocations: 108.4 kB / 0.6901 GB, free: 17.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4235, allocations: 0 / 0.6901 GB, free: 17.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.4236, allocations: 57.3 kB / 0.6901 GB, free: 17.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.4239, allocations: 25.69 kB / 0.6902 GB, free: 17.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005402/0.4245, allocations: 312.1 kB / 0.6904 GB, free: 17.05 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.4247, allocations: 0.734 MB / 0.6912 GB, free: 16.36 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.07e-05/0.4247, allocations: 17 kB / 0.6912 GB, free: 16.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.087e-05/0.4248, allocations: 21.19 kB / 0.6912 GB, free: 16.35 MB / 494.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4248, allocations: 0.5 kB / 0.6912 GB, free: 16.35 MB / 494.1 MB Notification: Performance of Templates: time 0.005615/0.4304, allocations: 2.173 MB / 0.6933 GB, free: 16.3 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)