Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.006258/0.006257, allocations: 99.31 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.00122/0.00122, allocations: 186.3 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.1 MB / 222.5 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6162/0.6162, allocations: 95.48 MB / 365.4 MB, free: 9.797 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 71.91 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1573, allocations: 69.08 MB / 0.5711 GB, free: 8.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003085/0.1605, allocations: 1.59 MB / 0.5726 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.1618, allocations: 0.9339 MB / 0.5735 GB, free: 5.801 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.1619, allocations: 4 kB / 0.5736 GB, free: 5.797 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.1621, allocations: 23.78 kB / 0.5736 GB, free: 5.773 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002351/0.1624, allocations: 47.77 kB / 0.5736 GB, free: 5.727 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.1627, allocations: 91.75 kB / 0.5737 GB, free: 5.637 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.1629, allocations: 213.7 kB / 0.5739 GB, free: 5.426 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1631, allocations: 23.92 kB / 0.5739 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.5e-05/0.1631, allocations: 71.83 kB / 0.574 GB, free: 5.332 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.1633, allocations: 79.72 kB / 0.5741 GB, free: 5.254 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.1633, allocations: 16 kB / 0.5741 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.1635, allocations: 59.98 kB / 0.5742 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.133e-05/0.1636, allocations: 71.81 kB / 0.5742 GB, free: 5.109 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.1637, allocations: 99.39 kB / 0.5743 GB, free: 5.012 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.164, allocations: 255.1 kB / 0.5746 GB, free: 4.762 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.164, allocations: 0 / 0.5746 GB, free: 4.762 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.164, allocations: 0 / 0.5746 GB, free: 4.762 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.164, allocations: 7.984 kB / 0.5746 GB, free: 4.754 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008077/0.1648, allocations: 0.5314 MB / 0.5751 GB, free: 4.168 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.1649, allocations: 15.98 kB / 0.5751 GB, free: 4.152 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.903e-05/0.165, allocations: 24.66 kB / 0.5751 GB, free: 4.129 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.1653, allocations: 256.4 kB / 0.5754 GB, free: 3.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.1653, allocations: 20.06 kB / 0.5754 GB, free: 3.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.1653, allocations: 16 kB / 0.5754 GB, free: 3.805 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.1657, allocations: 202.9 kB / 0.5756 GB, free: 3.594 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1657, allocations: 0 / 0.5756 GB, free: 3.594 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.1658, allocations: 8 kB / 0.5756 GB, free: 3.586 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.1658, allocations: 4 kB / 0.5756 GB, free: 3.582 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008351/0.1666, allocations: 0.7295 MB / 0.5763 GB, free: 2.852 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007904/0.1674, allocations: 0.5472 MB / 0.5769 GB, free: 2.254 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.1677, allocations: 218.5 kB / 0.5771 GB, free: 2.031 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.1679, allocations: 100.8 kB / 0.5772 GB, free: 1.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.692e-05/0.168, allocations: 19.97 kB / 0.5772 GB, free: 1.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003139/0.1683, allocations: 165.5 kB / 0.5773 GB, free: 1.734 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.1683, allocations: 0 / 0.5773 GB, free: 1.734 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006056/0.1689, allocations: 366.7 kB / 0.5777 GB, free: 1.371 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.169, allocations: 85.05 kB / 0.5778 GB, free: 1.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.1692, allocations: 299 kB / 0.5781 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.1693, allocations: 29.7 kB / 0.5781 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.587e-05/0.1694, allocations: 120.7 kB / 0.5782 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.299e-05/0.1695, allocations: 114.4 kB / 0.5783 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-05/0.1695, allocations: 53.7 kB / 0.5784 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1697, allocations: 338.8 kB / 0.5787 GB, free: 300 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.1698, allocations: 75.95 kB / 0.5788 GB, free: 224 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.17, allocations: 109.7 kB / 0.5789 GB, free: 108 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.1703, allocations: 232.1 kB / 0.5791 GB, free: 15.87 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.1703, allocations: 11.94 kB / 0.5791 GB, free: 15.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004152/0.1708, allocations: 298.9 kB / 0.5794 GB, free: 15.55 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.1708, allocations: 29.7 kB / 0.5794 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1708, allocations: 0 / 0.5794 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1708, allocations: 0 / 0.5794 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.171, allocations: 55.91 kB / 0.5795 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.171, allocations: 7.938 kB / 0.5795 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.766e-05/0.1711, allocations: 23.73 kB / 0.5795 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.1712, allocations: 20.02 kB / 0.5795 GB, free: 15.41 MB / 462.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.tStart,$PRE.conTim.tStart,$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): 33 * Array equations: 0 * Algorithm blocks: 1 * 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.000142/0.1713, allocations: 157.8 kB / 0.5797 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.1714, allocations: 23.72 kB / 0.5797 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.011e-05/0.1715, allocations: 38.64 kB / 0.5797 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1715, allocations: 7.938 kB / 0.5797 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.1715, allocations: 3.938 kB / 0.5797 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1715, allocations: 0 / 0.5797 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.1718, allocations: 321.2 kB / 0.58 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1718, allocations: 0 / 0.58 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.172, allocations: 59.91 kB / 0.5801 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.172, allocations: 0 / 0.5801 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.172, allocations: 12 kB / 0.5801 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.172, allocations: 4 kB / 0.5801 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.172, allocations: 3.938 kB / 0.5801 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.1724, allocations: 304.9 kB / 0.5804 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.1726, allocations: 144.7 kB / 0.5805 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.1726, allocations: 8 kB / 0.5805 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.61e-05/0.1727, allocations: 11.98 kB / 0.5806 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.1728, allocations: 27.91 kB / 0.5806 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.1728, allocations: 11.98 kB / 0.5806 GB, free: 14.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001851/0.173, allocations: 224.6 kB / 0.5808 GB, free: 13.98 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.173, allocations: 3.938 kB / 0.5808 GB, free: 13.98 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.1733, allocations: 56 kB / 0.5809 GB, free: 13.93 MB / 462.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.tStart) * Number of discrete states: 1 (conTim.tStart) * 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.0009174/0.1742, allocations: 400.1 kB / 0.5812 GB, free: 13.67 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003785/0.1746, allocations: 283.4 kB / 0.5815 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1746, allocations: 0 / 0.5815 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.1748, allocations: 127.8 kB / 0.5816 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.175, allocations: 40.03 kB / 0.5817 GB, free: 13.22 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007557/0.1758, allocations: 492.9 kB / 0.5821 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.1761, allocations: 0.7612 MB / 0.5829 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002867/0.1764, allocations: 142.2 kB / 0.583 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.946e-05/0.1765, allocations: 43.41 kB / 0.5831 GB, free: 11.75 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1765, allocations: 0 / 0.5831 GB, free: 11.75 MB / 462.1 MB Notification: Performance of Templates: time 0.006124/0.1827, allocations: 2.64 MB / 0.5856 GB, free: 9.117 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)