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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7629/0.7629, allocations: 140.1 MB / 156 MB, free: 5.145 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 182.6 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.4 MB / 426.3 MB, free: 8.457 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 86.41 kB / 0.4945 GB, free: 8.398 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001679/0.001679, allocations: 274.2 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000525/0.0005251, allocations: 20 kB / 0.662 GB, free: 6.789 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3822, allocations: 79.31 MB / 0.7395 GB, free: 46.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.5323, allocations: 110.4 MB / 0.8473 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000335/0.5326, allocations: 87.94 kB / 0.8473 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0214/0.5541, allocations: 8.159 MB / 0.8553 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.695e-06/0.5541, allocations: 0 / 0.8553 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.07e-05/0.5541, allocations: 4 kB / 0.8553 GB, free: 7.559 MB / 0.5261 GB 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.0007351/0.5549, allocations: 0.5032 MB / 0.8558 GB, free: 7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.5549, allocations: 8.031 kB / 0.8558 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.488e-05/0.555, allocations: 24.66 kB / 0.8558 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.5554, allocations: 280.8 kB / 0.8561 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.5555, allocations: 12.38 kB / 0.8561 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.5555, allocations: 12.38 kB / 0.8561 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.5559, allocations: 217.4 kB / 0.8563 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.5559, allocations: 192 / 0.8563 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.5559, allocations: 7.938 kB / 0.8563 GB, free: 6.391 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.556, allocations: 7.938 kB / 0.8564 GB, free: 6.383 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008339/0.5568, allocations: 0.7334 MB / 0.8571 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008618/0.5577, allocations: 0.5743 MB / 0.8576 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.558, allocations: 224.4 kB / 0.8578 GB, free: 4.797 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.5582, allocations: 100.8 kB / 0.8579 GB, free: 4.695 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.443e-05/0.5582, allocations: 15.97 kB / 0.858 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000288/0.5585, allocations: 177.4 kB / 0.8581 GB, free: 4.492 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 1.773e-06/0.5585, allocations: 0 / 0.8581 GB, free: 4.492 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.0006531/0.5592, allocations: 358.8 kB / 0.8585 GB, free: 4.137 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.284e-05/0.5593, allocations: 144.4 kB / 0.8586 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003154/0.5596, allocations: 281 kB / 0.8589 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.5597, allocations: 37.7 kB / 0.8589 GB, free: 3.641 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.5598, allocations: 120.7 kB / 0.859 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.775e-05/0.5599, allocations: 118.4 kB / 0.8591 GB, free: 3.398 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/0.5599, allocations: 4 kB / 0.8591 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.56, allocations: 338.8 kB / 0.8595 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.5602, allocations: 75.95 kB / 0.8595 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.5604, allocations: 128.5 kB / 0.8597 GB, free: 2.844 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.5607, allocations: 201.2 kB / 0.8598 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.5607, allocations: 4 kB / 0.8599 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004127/0.5611, allocations: 273.2 kB / 0.8601 GB, free: 2.367 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.5611, allocations: 4 kB / 0.8601 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.5611, allocations: 0 / 0.8601 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.5612, allocations: 4 kB / 0.8601 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.5614, allocations: 55.91 kB / 0.8602 GB, free: 2.305 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.5614, allocations: 4 kB / 0.8602 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.5615, allocations: 31.77 kB / 0.8602 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.5616, allocations: 16 kB / 0.8602 GB, free: 2.254 MB / 0.5261 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.5617, allocations: 157.8 kB / 0.8604 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.5618, allocations: 27.62 kB / 0.8604 GB, free: 2.062 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006337/0.5624, allocations: 384.9 kB / 0.8608 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5625, allocations: 4 kB / 0.8608 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5625, allocations: 0 / 0.8608 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.5625, allocations: 3.984 kB / 0.8608 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003232/0.5628, allocations: 345.2 kB / 0.8611 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5628, allocations: 0 / 0.8611 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.563, allocations: 55.91 kB / 0.8612 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.563, allocations: 0 / 0.8612 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.563, allocations: 8 kB / 0.8612 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.563, allocations: 0 / 0.8612 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.563, allocations: 4 kB / 0.8612 GB, free: 1.219 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000517/0.5636, allocations: 317.7 kB / 0.8615 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.5637, allocations: 152.7 kB / 0.8616 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.5638, allocations: 7.938 kB / 0.8616 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.5639, allocations: 19.98 kB / 0.8616 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.089e-05/0.564, allocations: 23.97 kB / 0.8617 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.564, allocations: 19.98 kB / 0.8617 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002049/0.5642, allocations: 220.4 kB / 0.8619 GB, free: 448 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5643, allocations: 3.938 kB / 0.8619 GB, free: 444 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003141/0.5646, allocations: 71.84 kB / 0.862 GB, free: 372 kB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009524/0.5655, allocations: 410.7 kB / 0.8624 GB, free: 68 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004017/0.566, allocations: 224.2 kB / 0.8626 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.566, allocations: 4 kB / 0.8626 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.5662, allocations: 119.9 kB / 0.8627 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.5665, allocations: 34.08 kB / 0.8627 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.5675, allocations: 0.5665 MB / 0.8633 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.5678, allocations: 0.7574 MB / 0.864 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003443/0.5682, allocations: 154.8 kB / 0.8642 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.84e-05/0.5683, allocations: 43.42 kB / 0.8642 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of SimCode: time 3.51e-07/0.5683, allocations: 0 / 0.8642 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of Templates: time 0.006611/0.5749, allocations: 3.044 MB / 0.8672 GB, free: 11.09 MB / 0.5417 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)