Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001659/0.001659, allocations: 190.9 kB / 16.25 MB, free: 6.625 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.372/1.372, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002148/0.002148, allocations: 290.9 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9744/0.9744, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002874/0.002874, allocations: 88.7 kB / 0.5947 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1523, allocations: 86.99 MB / 0.6796 GB, free: 1.094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002958/0.1554, allocations: 1.71 MB / 0.6813 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.1568, allocations: 1.157 MB / 0.6824 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.021e-05/0.1569, allocations: 0 / 0.6824 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.1571, allocations: 24.48 kB / 0.6825 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.1573, allocations: 53.7 kB / 0.6825 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.1577, allocations: 130.9 kB / 0.6826 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.1579, allocations: 253.5 kB / 0.6829 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.117e-05/0.158, allocations: 19.92 kB / 0.6829 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.126e-05/0.1581, allocations: 83.77 kB / 0.683 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.1584, allocations: 95.7 kB / 0.6831 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.1584, allocations: 20 kB / 0.6831 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.1585, allocations: 79.95 kB / 0.6832 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.298e-05/0.1586, allocations: 75.81 kB / 0.6832 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.1588, allocations: 119.3 kB / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.159, allocations: 275.2 kB / 0.6836 GB, free: 13.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1591, allocations: 0 / 0.6836 GB, free: 13.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1591, allocations: 0 / 0.6836 GB, free: 13.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1591, allocations: 0 / 0.6836 GB, free: 13.02 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007083/0.1598, allocations: 0.5365 MB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.1598, allocations: 8.031 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.1599, allocations: 32.53 kB / 0.6842 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.1602, allocations: 276.8 kB / 0.6844 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1602, allocations: 12.38 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.1602, allocations: 16.38 kB / 0.6845 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.1606, allocations: 225.2 kB / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1606, allocations: 0 / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.1606, allocations: 8 kB / 0.6847 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1606, allocations: 4 kB / 0.6847 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008276/0.1615, allocations: 0.7373 MB / 0.6854 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007947/0.1623, allocations: 0.578 MB / 0.686 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.1626, allocations: 224.2 kB / 0.6862 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.1628, allocations: 104.8 kB / 0.6863 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.213e-05/0.1628, allocations: 23.97 kB / 0.6863 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003014/0.1631, allocations: 169.5 kB / 0.6865 GB, free: 9.902 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.1631, allocations: 0 / 0.6865 GB, free: 9.902 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006233/0.1638, allocations: 364.2 kB / 0.6868 GB, free: 9.543 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.1638, allocations: 132.5 kB / 0.6869 GB, free: 9.383 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.1641, allocations: 312.9 kB / 0.6872 GB, free: 9.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.1642, allocations: 29.7 kB / 0.6873 GB, free: 9.035 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.97e-05/0.1642, allocations: 132.6 kB / 0.6874 GB, free: 8.902 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.398e-05/0.1643, allocations: 110.4 kB / 0.6875 GB, free: 8.793 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.469e-05/0.1644, allocations: 65.69 kB / 0.6876 GB, free: 8.723 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1645, allocations: 334.8 kB / 0.6879 GB, free: 8.387 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.1647, allocations: 79.95 kB / 0.688 GB, free: 8.309 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.1649, allocations: 123.6 kB / 0.6881 GB, free: 8.176 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.1652, allocations: 208.7 kB / 0.6883 GB, free: 7.969 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1652, allocations: 8 kB / 0.6883 GB, free: 7.961 MB / 494.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003992/0.1656, allocations: 269.8 kB / 0.6885 GB, free: 7.691 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1656, allocations: 8 kB / 0.6886 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1656, allocations: 0 / 0.6886 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1656, allocations: 0 / 0.6886 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.1658, allocations: 63.91 kB / 0.6886 GB, free: 7.621 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1658, allocations: 0 / 0.6886 GB, free: 7.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.166, allocations: 31.67 kB / 0.6886 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.166, allocations: 12 kB / 0.6887 GB, free: 7.578 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001452/0.1662, allocations: 171 kB / 0.6888 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.1662, allocations: 23.72 kB / 0.6888 GB, free: 7.379 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006128/0.1668, allocations: 368.8 kB / 0.6892 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1668, allocations: 4 kB / 0.6892 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1669, allocations: 3.984 kB / 0.6892 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1669, allocations: 7.875 kB / 0.6892 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.1672, allocations: 333.2 kB / 0.6895 GB, free: 6.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1672, allocations: 4 kB / 0.6895 GB, free: 6.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.1673, allocations: 51.98 kB / 0.6896 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1673, allocations: 7.984 kB / 0.6896 GB, free: 6.555 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.1674, allocations: 8 kB / 0.6896 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1674, allocations: 0 / 0.6896 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1674, allocations: 0 / 0.6896 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.1678, allocations: 322.2 kB / 0.6899 GB, free: 6.215 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.168, allocations: 152.5 kB / 0.69 GB, free: 6.047 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.168, allocations: 8 kB / 0.6901 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.1682, allocations: 20.03 kB / 0.6901 GB, free: 6.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/0.1682, allocations: 31.89 kB / 0.6901 GB, free: 5.988 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.1683, allocations: 15.98 kB / 0.6901 GB, free: 5.973 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.1685, allocations: 228.5 kB / 0.6903 GB, free: 5.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1685, allocations: 0 / 0.6903 GB, free: 5.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.1688, allocations: 59.98 kB / 0.6904 GB, free: 5.691 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008646/0.1696, allocations: 411 kB / 0.6908 GB, free: 5.434 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004734/0.1701, allocations: 291.7 kB / 0.6911 GB, free: 5.148 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1701, allocations: 0 / 0.6911 GB, free: 5.148 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.1703, allocations: 131.8 kB / 0.6912 GB, free: 5.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.1706, allocations: 33.78 kB / 0.6912 GB, free: 4.984 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007499/0.1713, allocations: 0.5718 MB / 0.6918 GB, free: 4.391 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.1717, allocations: 0.7574 MB / 0.6925 GB, free: 3.609 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003056/0.172, allocations: 146.8 kB / 0.6927 GB, free: 3.465 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.962e-05/0.1721, allocations: 43.42 kB / 0.6927 GB, free: 3.422 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1721, allocations: 0 / 0.6927 GB, free: 3.422 MB / 494.1 MB Notification: Performance of Templates: time 0.005991/0.1781, allocations: 3.021 MB / 0.6956 GB, free: 456 kB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)