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.007411/0.007411, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001162/0.001162, allocations: 195.2 kB / 16.68 MB, free: 5.52 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.631/1.631, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.4633/0.4633, allocations: 95.47 MB / 365.4 MB, free: 12.16 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.002619/0.002619, allocations: 71.91 kB / 0.5036 GB, free: 11.82 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5217/0.5243, allocations: 69.1 MB / 0.5711 GB, free: 4.133 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003154/0.5275, allocations: 1.574 MB / 0.5726 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.5291, allocations: 0.9271 MB / 0.5735 GB, free: 1.617 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.912e-05/0.5292, allocations: 3.938 kB / 0.5735 GB, free: 1.613 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.5295, allocations: 23.84 kB / 0.5736 GB, free: 1.59 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.0002279/0.5298, allocations: 43.77 kB / 0.5736 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.5301, allocations: 103.2 kB / 0.5737 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000259/0.5304, allocations: 213.7 kB / 0.5739 GB, free: 1.242 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.5305, allocations: 23.34 kB / 0.5739 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.999e-05/0.5306, allocations: 71.83 kB / 0.574 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.5307, allocations: 75.8 kB / 0.5741 GB, free: 1.078 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.5308, allocations: 20 kB / 0.5741 GB, free: 1.059 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.5309, allocations: 63.91 kB / 0.5742 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.469e-05/0.531, allocations: 67.83 kB / 0.5742 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.5311, allocations: 99.39 kB / 0.5743 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.5314, allocations: 255.1 kB / 0.5746 GB, free: 0.582 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.5315, allocations: 0 / 0.5746 GB, free: 0.582 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5315, allocations: 0 / 0.5746 GB, free: 0.582 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.5315, allocations: 0 / 0.5746 GB, free: 0.582 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.0008253/0.5323, allocations: 0.5416 MB / 0.5751 GB, free: 15.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.5324, allocations: 15.98 kB / 0.5751 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.5324, allocations: 24.66 kB / 0.5751 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.5327, allocations: 252.4 kB / 0.5754 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.5328, allocations: 16.12 kB / 0.5754 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.5328, allocations: 19.94 kB / 0.5754 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.5331, allocations: 191 kB / 0.5756 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.5332, allocations: 0 / 0.5756 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.5332, allocations: 12 kB / 0.5756 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.5332, allocations: 8 kB / 0.5756 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008465/0.534, allocations: 0.7217 MB / 0.5763 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008938/0.535, allocations: 0.5587 MB / 0.5769 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.5353, allocations: 219.5 kB / 0.5771 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.5355, allocations: 100.8 kB / 0.5772 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.014e-05/0.5355, allocations: 19.97 kB / 0.5772 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003786/0.5359, allocations: 169.5 kB / 0.5773 GB, free: 13.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.5359, allocations: 0 / 0.5773 GB, free: 13.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006276/0.5366, allocations: 361 kB / 0.5777 GB, free: 13.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.5366, allocations: 89.03 kB / 0.5778 GB, free: 13.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.5369, allocations: 287.2 kB / 0.578 GB, free: 12.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.537, allocations: 29.7 kB / 0.5781 GB, free: 12.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.185e-05/0.5371, allocations: 124.7 kB / 0.5782 GB, free: 12.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.5372, allocations: 110.5 kB / 0.5783 GB, free: 12.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-05/0.5373, allocations: 57.69 kB / 0.5784 GB, free: 12.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.5374, allocations: 338.8 kB / 0.5787 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.5376, allocations: 79.95 kB / 0.5788 GB, free: 12.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.5378, allocations: 109.9 kB / 0.5789 GB, free: 11.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.5381, allocations: 226.9 kB / 0.5791 GB, free: 11.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5381, allocations: 4 kB / 0.5791 GB, free: 11.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004233/0.5385, allocations: 306.9 kB / 0.5794 GB, free: 11.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.142e-05/0.5386, allocations: 29.7 kB / 0.5794 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.5386, allocations: 0 / 0.5794 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.5386, allocations: 4 kB / 0.5794 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.5388, allocations: 55.84 kB / 0.5795 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.5389, allocations: 15.86 kB / 0.5795 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.953e-05/0.539, allocations: 19.78 kB / 0.5795 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.539, allocations: 15.98 kB / 0.5795 GB, free: 11.24 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.0001522/0.5392, allocations: 162.4 kB / 0.5797 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.5392, allocations: 23.72 kB / 0.5797 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.5393, allocations: 38.64 kB / 0.5797 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.5393, allocations: 4 kB / 0.5797 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.5393, allocations: 3.938 kB / 0.5797 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.5394, allocations: 3.984 kB / 0.5797 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.5397, allocations: 317.2 kB / 0.58 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.5397, allocations: 3.984 kB / 0.58 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.5398, allocations: 59.92 kB / 0.5801 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.5399, allocations: 8 kB / 0.5801 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.5399, allocations: 11.98 kB / 0.5801 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5399, allocations: 0 / 0.5801 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5399, allocations: 3.938 kB / 0.5801 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.5403, allocations: 304.6 kB / 0.5804 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.5405, allocations: 136.7 kB / 0.5805 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.5405, allocations: 8 kB / 0.5805 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.939e-05/0.5406, allocations: 11.98 kB / 0.5806 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/0.5407, allocations: 35.84 kB / 0.5806 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.5407, allocations: 8 kB / 0.5806 GB, free: 10.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002149/0.541, allocations: 228.6 kB / 0.5808 GB, free: 9.801 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.541, allocations: 0 / 0.5808 GB, free: 9.801 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003031/0.5413, allocations: 56 kB / 0.5809 GB, free: 9.746 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.001106/0.5424, allocations: 401.6 kB / 0.5813 GB, free: 9.488 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004768/0.5429, allocations: 279.6 kB / 0.5815 GB, free: 9.203 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.5429, allocations: 0 / 0.5815 GB, free: 9.203 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.5431, allocations: 127.9 kB / 0.5816 GB, free: 9.078 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.5434, allocations: 27.56 kB / 0.5817 GB, free: 9.055 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009713/0.5444, allocations: 0.4891 MB / 0.5821 GB, free: 8.543 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.5449, allocations: 0.7574 MB / 0.5829 GB, free: 7.754 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003206/0.5452, allocations: 138.2 kB / 0.583 GB, free: 7.621 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.875e-05/0.5453, allocations: 43.42 kB / 0.5831 GB, free: 7.578 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.5453, allocations: 0 / 0.5831 GB, free: 7.578 MB / 446.1 MB Notification: Performance of Templates: time 0.006893/0.5522, allocations: 2.622 MB / 0.5856 GB, free: 4.973 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)