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.001328/0.001328, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001332/0.001332, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.51/1.51, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002541/0.002541, allocations: 291.1 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.084/1.084, allocations: 178.6 MB / 0.507 GB, free: 4.699 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002746/0.002746, allocations: 97.77 kB / 0.6059 GB, free: 25.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1533, allocations: 89.16 MB / 0.693 GB, free: 4.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003158/0.1564, allocations: 1.709 MB / 0.6947 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.1582, allocations: 1.155 MB / 0.6958 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.196e-05/0.1582, allocations: 0.5938 kB / 0.6958 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.1584, allocations: 19.92 kB / 0.6958 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.1587, allocations: 61 kB / 0.6959 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.1591, allocations: 134.6 kB / 0.696 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.1594, allocations: 251.1 kB / 0.6962 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.365e-05/0.1595, allocations: 12.91 kB / 0.6962 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.1596, allocations: 88.38 kB / 0.6963 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.1598, allocations: 95.64 kB / 0.6964 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.1599, allocations: 21.5 kB / 0.6964 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.16, allocations: 75.97 kB / 0.6965 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.1601, allocations: 79.8 kB / 0.6966 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.1602, allocations: 111.9 kB / 0.6967 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.1606, allocations: 283.1 kB / 0.697 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1606, allocations: 2.625 kB / 0.697 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1606, allocations: 0 / 0.697 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1606, allocations: 0 / 0.697 GB, free: 0.5859 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.0008151/0.1615, allocations: 0.5344 MB / 0.6975 GB, free: 4 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.1615, allocations: 12.02 kB / 0.6975 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.414e-05/0.1616, allocations: 30.19 kB / 0.6975 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.1619, allocations: 276.5 kB / 0.6978 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1619, allocations: 8.375 kB / 0.6978 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.162, allocations: 16.38 kB / 0.6978 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003958/0.1624, allocations: 225.3 kB / 0.698 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1624, allocations: 0 / 0.698 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.1624, allocations: 8 kB / 0.698 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1624, allocations: 4 kB / 0.698 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009648/0.1634, allocations: 0.7373 MB / 0.6988 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009685/0.1644, allocations: 0.5897 MB / 0.6993 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000381/0.1648, allocations: 223.4 kB / 0.6996 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.1649, allocations: 100.8 kB / 0.6996 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.09e-05/0.165, allocations: 19.97 kB / 0.6997 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003745/0.1654, allocations: 173.5 kB / 0.6998 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.1654, allocations: 0 / 0.6998 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0007063/0.1661, allocations: 366.8 kB / 0.7002 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.963e-05/0.1662, allocations: 136.5 kB / 0.7003 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003357/0.1666, allocations: 304.9 kB / 0.7006 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.1666, allocations: 33.69 kB / 0.7006 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.514e-05/0.1667, allocations: 132.6 kB / 0.7008 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.1668, allocations: 102.5 kB / 0.7009 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.1669, allocations: 65.69 kB / 0.7009 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.1671, allocations: 338.8 kB / 0.7012 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.1672, allocations: 79.95 kB / 0.7013 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.1674, allocations: 124.5 kB / 0.7014 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.1678, allocations: 209.2 kB / 0.7016 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1678, allocations: 0 / 0.7016 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004717/0.1683, allocations: 269.2 kB / 0.7019 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1683, allocations: 8 kB / 0.7019 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.1683, allocations: 0 / 0.7019 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1683, allocations: 0 / 0.7019 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.1686, allocations: 63.91 kB / 0.702 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.1686, allocations: 3.984 kB / 0.702 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.1687, allocations: 27.69 kB / 0.702 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.1688, allocations: 19.92 kB / 0.702 GB, free: 11.14 MB / 0.4981 GB 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.0001745/0.1689, allocations: 157.8 kB / 0.7022 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/0.169, allocations: 27.66 kB / 0.7022 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007122/0.1697, allocations: 385 kB / 0.7026 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.1697, allocations: 4.047 kB / 0.7026 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1697, allocations: 3.984 kB / 0.7026 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.1698, allocations: 15.86 kB / 0.7026 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.1701, allocations: 325.2 kB / 0.7029 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1701, allocations: 0 / 0.7029 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.1703, allocations: 55.91 kB / 0.7029 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.1703, allocations: 4 kB / 0.7029 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.1704, allocations: 11.98 kB / 0.703 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1704, allocations: 0 / 0.703 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1704, allocations: 4 kB / 0.703 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005121/0.1709, allocations: 313.8 kB / 0.7033 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.1711, allocations: 144.6 kB / 0.7034 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.1711, allocations: 7.984 kB / 0.7034 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.1713, allocations: 19.98 kB / 0.7034 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.1713, allocations: 23.91 kB / 0.7034 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.1714, allocations: 16 kB / 0.7035 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002327/0.1716, allocations: 236.4 kB / 0.7037 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.1716, allocations: 0 / 0.7037 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003069/0.1719, allocations: 59.94 kB / 0.7037 GB, free: 9.262 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: 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.001393/0.1733, allocations: 407.2 kB / 0.7041 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005575/0.1739, allocations: 300.2 kB / 0.7044 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1739, allocations: 4 kB / 0.7044 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.1741, allocations: 123.8 kB / 0.7045 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.1744, allocations: 43.08 kB / 0.7046 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008576/0.1753, allocations: 0.5717 MB / 0.7051 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.1757, allocations: 0.7651 MB / 0.7059 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003395/0.176, allocations: 150.8 kB / 0.706 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.418e-05/0.1761, allocations: 39.42 kB / 0.7061 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1761, allocations: 0 / 0.7061 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of Templates: time 0.006964/0.1831, allocations: 3.015 MB / 0.709 GB, free: 4.004 MB / 0.4981 GB 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)