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.00142/0.00142, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001585/0.001585, allocations: 198 kB / 16.14 MB, free: 6.715 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.474/1.474, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00255/0.00255, allocations: 282.8 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.115/1.115, allocations: 178.6 MB / 0.5068 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002829/0.002829, allocations: 102 kB / 0.6057 GB, free: 24.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1735, allocations: 89.15 MB / 0.6928 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003511/0.1771, allocations: 2.076 MB / 0.6948 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1782, allocations: 0.5517 MB / 0.6954 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.261e-05/0.1783, allocations: 4.656 kB / 0.6954 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.1784, allocations: 15.86 kB / 0.6954 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.994e-05/0.1785, allocations: 27.78 kB / 0.6954 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.1788, allocations: 75.89 kB / 0.6955 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.1791, allocations: 204 kB / 0.6957 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.1794, allocations: 111.6 kB / 0.6958 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.1795, allocations: 83.58 kB / 0.6959 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.1797, allocations: 87.53 kB / 0.696 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.1797, allocations: 12 kB / 0.696 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.413e-05/0.1798, allocations: 20 kB / 0.696 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.946e-05/0.1799, allocations: 47.75 kB / 0.696 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.18, allocations: 91.41 kB / 0.6961 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.1803, allocations: 255.4 kB / 0.6964 GB, free: 1.152 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1804, allocations: 0 / 0.6964 GB, free: 1.152 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1804, allocations: 4 kB / 0.6964 GB, free: 1.148 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1804, allocations: 4 kB / 0.6964 GB, free: 1.145 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.000917/0.1813, allocations: 0.5103 MB / 0.6969 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1814, allocations: 12.03 kB / 0.6969 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.309e-05/0.1814, allocations: 28.66 kB / 0.6969 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.1818, allocations: 256.6 kB / 0.6972 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.1819, allocations: 20.38 kB / 0.6972 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.1819, allocations: 16.38 kB / 0.6972 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004935/0.1824, allocations: 225 kB / 0.6974 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1824, allocations: 3.938 kB / 0.6974 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.1825, allocations: 8 kB / 0.6974 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1825, allocations: 4 kB / 0.6974 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003534/0.1828, allocations: 143.9 kB / 0.6976 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.1839, allocations: 0.6049 MB / 0.6981 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.1843, allocations: 114.8 kB / 0.6983 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.1844, allocations: 48.84 kB / 0.6983 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/0.1845, allocations: 4.188 kB / 0.6983 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.826e-05/0.1845, allocations: 38.48 kB / 0.6983 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.1845, allocations: 0 / 0.6983 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004844/0.185, allocations: 169.3 kB / 0.6985 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.1851, allocations: 140.5 kB / 0.6986 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.1854, allocations: 210.9 kB / 0.6988 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.1854, allocations: 37.69 kB / 0.6989 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.1855, allocations: 144.2 kB / 0.699 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.1856, allocations: 23.66 kB / 0.699 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.823e-05/0.1857, allocations: 41.61 kB / 0.6991 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.1858, allocations: 326.8 kB / 0.6994 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.186, allocations: 47.98 kB / 0.6994 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.1862, allocations: 90.62 kB / 0.6995 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.1864, allocations: 93.62 kB / 0.6996 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1864, allocations: 0 / 0.6996 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003373/0.1867, allocations: 156.2 kB / 0.6998 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.1868, allocations: 5.406 kB / 0.6998 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1868, allocations: 3.938 kB / 0.6998 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1868, allocations: 4 kB / 0.6998 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.1869, allocations: 19.92 kB / 0.6998 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.036e-06/0.187, allocations: 0 / 0.6998 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.1871, allocations: 35.81 kB / 0.6998 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.1871, allocations: 4 kB / 0.6998 GB, free: 13.33 MB / 0.4981 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.0001651/0.1873, allocations: 134.5 kB / 0.7 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.1874, allocations: 15.81 kB / 0.7 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003758/0.1877, allocations: 147 kB / 0.7001 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1878, allocations: 3.938 kB / 0.7001 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.1878, allocations: 0 / 0.7001 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1878, allocations: 3.938 kB / 0.7001 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.1881, allocations: 277.5 kB / 0.7004 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1881, allocations: 0 / 0.7004 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.1882, allocations: 15.98 kB / 0.7004 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1882, allocations: 480 / 0.7004 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.1883, allocations: 8 kB / 0.7004 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1883, allocations: 7.938 kB / 0.7004 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1883, allocations: 3.984 kB / 0.7004 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.1886, allocations: 227.2 kB / 0.7006 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-05/0.1887, allocations: 96.91 kB / 0.7007 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.1888, allocations: 4 kB / 0.7007 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.1889, allocations: 23.92 kB / 0.7008 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.189, allocations: 19.95 kB / 0.7008 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.189, allocations: 8 kB / 0.7008 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001375/0.1892, allocations: 152.4 kB / 0.7009 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1892, allocations: 0 / 0.7009 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002776/0.1895, allocations: 47.84 kB / 0.701 GB, free: 12.06 MB / 0.4981 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.00016/0.1896, allocations: 107.2 kB / 0.7011 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003192/0.19, allocations: 103.9 kB / 0.7012 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.19, allocations: 0 / 0.7012 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.1901, allocations: 59.91 kB / 0.7012 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.1905, allocations: 20.06 kB / 0.7012 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006907/0.1912, allocations: 398.6 kB / 0.7016 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.1916, allocations: 0.7322 MB / 0.7023 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.175e-05/0.1917, allocations: 21.45 kB / 0.7024 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.454e-05/0.1918, allocations: 15.72 kB / 0.7024 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1918, allocations: 4 kB / 0.7024 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of Templates: time 0.005606/0.1974, allocations: 1.907 MB / 0.7042 GB, free: 8.699 MB / 0.4981 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)