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.01081/0.01081, allocations: 106 kB / 15.74 MB, free: 6.02 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.001276/0.001277, allocations: 193.4 kB / 16.67 MB, free: 5.934 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.539/1.539, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4761/0.4761, allocations: 95.49 MB / 365.4 MB, free: 12.14 MB / 318.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.001555/0.001555, allocations: 67.91 kB / 0.5036 GB, free: 11.82 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5219/0.5235, allocations: 69.09 MB / 0.5711 GB, free: 4.109 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.004013/0.5276, allocations: 1.582 MB / 0.5726 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.5295, allocations: 0.9271 MB / 0.5736 GB, free: 1.586 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.5296, allocations: 4 kB / 0.5736 GB, free: 1.582 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004536/0.5301, allocations: 23.84 kB / 0.5736 GB, free: 1.559 MB / 430.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.000294/0.5304, allocations: 39.72 kB / 0.5736 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.5308, allocations: 98.92 kB / 0.5737 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003672/0.5311, allocations: 221.6 kB / 0.5739 GB, free: 1.211 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.5313, allocations: 16 kB / 0.5739 GB, free: 1.195 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.5314, allocations: 63.89 kB / 0.574 GB, free: 1.133 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.5316, allocations: 83.7 kB / 0.5741 GB, free: 1.051 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.5317, allocations: 19.94 kB / 0.5741 GB, free: 1.031 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.5318, allocations: 63.98 kB / 0.5742 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.532, allocations: 71.81 kB / 0.5742 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.5321, allocations: 99.39 kB / 0.5743 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.5325, allocations: 255.6 kB / 0.5746 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.5325, allocations: 0 / 0.5746 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.5325, allocations: 0 / 0.5746 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.902e-06/0.5325, allocations: 0 / 0.5746 GB, free: 0.5586 MB / 430.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.001141/0.5337, allocations: 0.5544 MB / 0.5751 GB, free: 15.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.5337, allocations: 11.98 kB / 0.5751 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.716e-05/0.5338, allocations: 28.8 kB / 0.5751 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.5342, allocations: 256.5 kB / 0.5754 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.5342, allocations: 12.12 kB / 0.5754 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.5343, allocations: 16 kB / 0.5754 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004623/0.5347, allocations: 202.9 kB / 0.5756 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.5348, allocations: 0 / 0.5756 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.5348, allocations: 4 kB / 0.5756 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.5348, allocations: 4 kB / 0.5756 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009222/0.5357, allocations: 0.7295 MB / 0.5763 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008802/0.5366, allocations: 0.5472 MB / 0.5769 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004395/0.5371, allocations: 223.5 kB / 0.5771 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.5372, allocations: 104.8 kB / 0.5772 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.597e-05/0.5373, allocations: 19.97 kB / 0.5772 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004547/0.5378, allocations: 169.5 kB / 0.5774 GB, free: 13.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.703e-06/0.5378, allocations: 4 kB / 0.5774 GB, free: 13.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007078/0.5385, allocations: 357.2 kB / 0.5777 GB, free: 13.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.5386, allocations: 85.05 kB / 0.5778 GB, free: 13.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004025/0.539, allocations: 299.1 kB / 0.5781 GB, free: 12.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.539, allocations: 33.7 kB / 0.5781 GB, free: 12.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.535e-05/0.5391, allocations: 116.8 kB / 0.5782 GB, free: 12.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.5392, allocations: 107.1 kB / 0.5783 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.003e-05/0.5393, allocations: 69.64 kB / 0.5784 GB, free: 12.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5395, allocations: 330.8 kB / 0.5787 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.5396, allocations: 79.95 kB / 0.5788 GB, free: 12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.5398, allocations: 109.9 kB / 0.5789 GB, free: 11.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.5401, allocations: 231 kB / 0.5791 GB, free: 11.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5401, allocations: 0 / 0.5791 GB, free: 11.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000459/0.5406, allocations: 303 kB / 0.5794 GB, free: 11.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.5407, allocations: 41.66 kB / 0.5794 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5407, allocations: 0 / 0.5794 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.5407, allocations: 4 kB / 0.5794 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.5409, allocations: 59.84 kB / 0.5795 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.5409, allocations: 3.938 kB / 0.5795 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.834e-05/0.541, allocations: 19.89 kB / 0.5795 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.541, allocations: 12 kB / 0.5795 GB, free: 11.2 MB / 446.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.0001775/0.5412, allocations: 158.4 kB / 0.5797 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.5413, allocations: 27.81 kB / 0.5797 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.506e-05/0.5414, allocations: 42.66 kB / 0.5797 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.5414, allocations: 0 / 0.5797 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.5414, allocations: 7.938 kB / 0.5797 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.5414, allocations: 7.969 kB / 0.5798 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/0.5418, allocations: 313.3 kB / 0.5801 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.5418, allocations: 4 kB / 0.5801 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.542, allocations: 55.91 kB / 0.5801 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.542, allocations: 8 kB / 0.5801 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.542, allocations: 11.98 kB / 0.5801 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.542, allocations: 4 kB / 0.5801 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.542, allocations: 3.938 kB / 0.5801 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004601/0.5425, allocations: 304.8 kB / 0.5804 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.5427, allocations: 140.8 kB / 0.5806 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.5427, allocations: 4 kB / 0.5806 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.255e-05/0.5428, allocations: 8 kB / 0.5806 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/0.5429, allocations: 27.91 kB / 0.5806 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.5429, allocations: 19.98 kB / 0.5806 GB, free: 9.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002094/0.5431, allocations: 224.6 kB / 0.5808 GB, free: 9.762 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5431, allocations: 0 / 0.5808 GB, free: 9.762 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002843/0.5434, allocations: 63.88 kB / 0.5809 GB, free: 9.699 MB / 446.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.0009816/0.5444, allocations: 413.9 kB / 0.5813 GB, free: 9.434 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004271/0.5448, allocations: 275.7 kB / 0.5816 GB, free: 9.152 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5448, allocations: 4 kB / 0.5816 GB, free: 9.148 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.545, allocations: 119.8 kB / 0.5817 GB, free: 9.031 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.5453, allocations: 35.48 kB / 0.5817 GB, free: 9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009033/0.5462, allocations: 0.4927 MB / 0.5822 GB, free: 8.484 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.5467, allocations: 0.7613 MB / 0.5829 GB, free: 7.691 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000313/0.5471, allocations: 138.2 kB / 0.5831 GB, free: 7.559 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.414e-05/0.5472, allocations: 43.36 kB / 0.5831 GB, free: 7.516 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.5472, allocations: 4 kB / 0.5831 GB, free: 7.512 MB / 446.1 MB Notification: Performance of Templates: time 0.00661/0.5538, allocations: 2.617 MB / 0.5857 GB, free: 4.91 MB / 446.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)