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 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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 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.7824/0.7824, allocations: 141.8 MB / 149.3 MB, free: 9.234 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 176.6 kB / 182.2 MB, free: 9.465 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 221.5 MB / 436.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008284/0.0008288, allocations: 88.05 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001716/0.001716, allocations: 271.1 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.802e-05/1.804e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4053, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1373/0.5427, allocations: 111.6 MB / 0.8664 GB, free: 296 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.543, allocations: 91.83 kB / 0.8664 GB, free: 208 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02071/0.5637, allocations: 7.972 MB / 0.8742 GB, free: 8.227 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5637, allocations: 0 / 0.8742 GB, free: 8.227 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.654e-05/0.5638, allocations: 4 kB / 0.8742 GB, free: 8.223 MB / 0.5417 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.00061/0.5644, allocations: 478.5 kB / 0.8747 GB, free: 7.711 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.5644, allocations: 8.031 kB / 0.8747 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.393e-05/0.5645, allocations: 31.56 kB / 0.8747 GB, free: 7.672 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.5649, allocations: 275.5 kB / 0.875 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.5649, allocations: 7.953 kB / 0.875 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.5649, allocations: 8 kB / 0.875 GB, free: 7.344 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008545/0.5658, allocations: 0.7178 MB / 0.8757 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.5661, allocations: 196.7 kB / 0.8759 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.5661, allocations: 0 / 0.8759 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.5661, allocations: 0 / 0.8759 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.5661, allocations: 4 kB / 0.8759 GB, free: 6.41 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007753/0.5669, allocations: 0.5282 MB / 0.8764 GB, free: 5.844 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.5672, allocations: 211.7 kB / 0.8766 GB, free: 5.629 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.5674, allocations: 84.84 kB / 0.8767 GB, free: 5.543 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.645e-05/0.5674, allocations: 27.91 kB / 0.8767 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002624/0.5677, allocations: 161.2 kB / 0.8769 GB, free: 5.344 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.5677, allocations: 0 / 0.8769 GB, free: 5.344 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.0004661/0.5682, allocations: 259.1 kB / 0.8771 GB, free: 5.086 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.5683, allocations: 132.5 kB / 0.8772 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00028/0.5686, allocations: 259.9 kB / 0.8775 GB, free: 4.668 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.5686, allocations: 25.7 kB / 0.8775 GB, free: 4.637 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.368e-05/0.5687, allocations: 116.9 kB / 0.8776 GB, free: 4.516 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.137e-05/0.5688, allocations: 110.5 kB / 0.8777 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/0.5688, allocations: 0 / 0.8777 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5689, allocations: 342.7 kB / 0.8781 GB, free: 4.062 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.5691, allocations: 71.97 kB / 0.8781 GB, free: 3.992 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.5692, allocations: 107.6 kB / 0.8782 GB, free: 3.875 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.5694, allocations: 104.4 kB / 0.8783 GB, free: 3.773 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5694, allocations: 0 / 0.8783 GB, free: 3.773 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000373/0.5698, allocations: 249.3 kB / 0.8786 GB, free: 3.523 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.5698, allocations: 4 kB / 0.8786 GB, free: 3.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.5698, allocations: 0 / 0.8786 GB, free: 3.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.5698, allocations: 3.984 kB / 0.8786 GB, free: 3.516 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.57, allocations: 63.91 kB / 0.8786 GB, free: 3.453 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.57, allocations: 0 / 0.8786 GB, free: 3.453 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.5702, allocations: 23.75 kB / 0.8787 GB, free: 3.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.5702, allocations: 15.98 kB / 0.8787 GB, free: 3.414 MB / 0.5417 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 () * 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.0001097/0.5703, allocations: 116.8 kB / 0.8788 GB, free: 3.297 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.5704, allocations: 27.72 kB / 0.8788 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006115/0.571, allocations: 360.8 kB / 0.8792 GB, free: 2.922 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.571, allocations: 4 kB / 0.8792 GB, free: 2.918 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.571, allocations: 0 / 0.8792 GB, free: 2.918 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.571, allocations: 0 / 0.8792 GB, free: 2.918 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.5713, allocations: 309.6 kB / 0.8795 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5714, allocations: 4 kB / 0.8795 GB, free: 2.574 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.5715, allocations: 55.92 kB / 0.8795 GB, free: 2.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.5715, allocations: 7.969 kB / 0.8795 GB, free: 2.512 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.5716, allocations: 8 kB / 0.8795 GB, free: 2.504 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.5716, allocations: 2.031 kB / 0.8795 GB, free: 2.504 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.5716, allocations: 0 / 0.8795 GB, free: 2.504 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004275/0.572, allocations: 297.7 kB / 0.8798 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.5722, allocations: 152.7 kB / 0.88 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.5722, allocations: 7.938 kB / 0.88 GB, free: 2.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.5724, allocations: 15.98 kB / 0.88 GB, free: 2.004 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.5725, allocations: 19.97 kB / 0.88 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.5725, allocations: 12 kB / 0.88 GB, free: 1.973 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001865/0.5727, allocations: 208.5 kB / 0.8802 GB, free: 1.77 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5727, allocations: 4 kB / 0.8802 GB, free: 1.766 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000315/0.573, allocations: 59.98 kB / 0.8803 GB, free: 1.707 MB / 0.5417 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) * 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.0008499/0.5739, allocations: 355.6 kB / 0.8806 GB, free: 1.434 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003269/0.5742, allocations: 199.8 kB / 0.8808 GB, free: 1.238 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5742, allocations: 0 / 0.8808 GB, free: 1.238 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.5744, allocations: 117 kB / 0.8809 GB, free: 1.125 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.5746, allocations: 21.67 kB / 0.8809 GB, free: 1.098 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006728/0.5753, allocations: 382.3 kB / 0.8813 GB, free: 0.7031 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.5757, allocations: 0.759 MB / 0.882 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003344/0.576, allocations: 151.1 kB / 0.8822 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.098e-05/0.5761, allocations: 43.42 kB / 0.8822 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of SimCode: time 3.5e-07/0.5761, allocations: 0 / 0.8822 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of Templates: time 0.006164/0.5823, allocations: 2.836 MB / 0.885 GB, free: 12.94 MB / 0.5573 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)