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/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004789/0.004789, allocations: 102 kB / 15.73 MB, free: 6.035 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.001168/0.001168, allocations: 187.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 290.5 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9471/0.9471, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 107.8 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.144, allocations: 86.97 MB / 0.7664 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002811/0.1469, allocations: 1.673 MB / 0.768 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.1485, allocations: 1.18 MB / 0.7692 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.883e-05/0.1486, allocations: 3.938 kB / 0.7692 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.1488, allocations: 23.84 kB / 0.7692 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.1491, allocations: 67.62 kB / 0.7693 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003813/0.1495, allocations: 142 kB / 0.7694 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000285/0.1498, allocations: 245.6 kB / 0.7696 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.409e-05/0.1499, allocations: 23.92 kB / 0.7697 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.671e-05/0.15, allocations: 87.81 kB / 0.7697 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.1502, allocations: 91.77 kB / 0.7698 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.949e-05/0.1502, allocations: 19.94 kB / 0.7698 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.1504, allocations: 75.97 kB / 0.7699 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.017e-05/0.1505, allocations: 79.8 kB / 0.77 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.793e-05/0.1506, allocations: 111.3 kB / 0.7701 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.151, allocations: 295 kB / 0.7704 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.151, allocations: 0 / 0.7704 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.151, allocations: 0 / 0.7704 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.151, allocations: 0 / 0.7704 GB, free: 4.312 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007119/0.1517, allocations: 0.542 MB / 0.7709 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.1517, allocations: 8.031 kB / 0.7709 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.17e-05/0.1518, allocations: 28.56 kB / 0.7709 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.1521, allocations: 264.9 kB / 0.7712 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.1521, allocations: 8.375 kB / 0.7712 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.1521, allocations: 20.38 kB / 0.7712 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.1525, allocations: 225.4 kB / 0.7714 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.1525, allocations: 0 / 0.7714 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.1525, allocations: 8 kB / 0.7715 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1526, allocations: 4 kB / 0.7715 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008452/0.1534, allocations: 0.7409 MB / 0.7722 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008253/0.1542, allocations: 0.5744 MB / 0.7727 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/0.1546, allocations: 231.4 kB / 0.773 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.1547, allocations: 96.81 kB / 0.7731 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.292e-05/0.1548, allocations: 23.95 kB / 0.7731 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003324/0.1551, allocations: 169.5 kB / 0.7732 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.1551, allocations: 4 kB / 0.7732 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.0006134/0.1557, allocations: 368.1 kB / 0.7736 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.1558, allocations: 140.5 kB / 0.7737 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.1561, allocations: 304.9 kB / 0.774 GB, free: 372 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.1561, allocations: 29.7 kB / 0.774 GB, free: 336 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/0.1562, allocations: 128.7 kB / 0.7742 GB, free: 204 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.1563, allocations: 106.5 kB / 0.7743 GB, free: 96 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.583e-05/0.1564, allocations: 69.59 kB / 0.7743 GB, free: 20 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2936/0.4501, allocations: 334.4 kB / 0.7747 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.4504, allocations: 80.94 kB / 0.7747 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.4506, allocations: 123.5 kB / 0.7749 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/0.451, allocations: 206.6 kB / 0.775 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.451, allocations: 0 / 0.775 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005461/0.4516, allocations: 270 kB / 0.7753 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.4516, allocations: 5.328 kB / 0.7753 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4516, allocations: 0.7188 kB / 0.7753 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.4517, allocations: 1.781 kB / 0.7753 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.4519, allocations: 62.56 kB / 0.7754 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.4519, allocations: 2.594 kB / 0.7754 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.4521, allocations: 24.89 kB / 0.7754 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.4522, allocations: 14.38 kB / 0.7754 GB, free: 14.93 MB / 0.5606 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 (conTim.tNext,$PRE.conTim.tNext,$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): 34 * Array equations: 0 * Algorithm blocks: 0 * 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.0001729/0.4523, allocations: 166.3 kB / 0.7756 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.4524, allocations: 26.02 kB / 0.7756 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000681/0.4531, allocations: 376 kB / 0.776 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.4531, allocations: 4.5 kB / 0.776 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.4531, allocations: 6 kB / 0.776 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.4531, allocations: 2.719 kB / 0.776 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.4534, allocations: 329.6 kB / 0.7763 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.4534, allocations: 0 / 0.7763 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.4536, allocations: 55.73 kB / 0.7763 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4536, allocations: 1.25 kB / 0.7763 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.4536, allocations: 11.27 kB / 0.7763 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4537, allocations: 3.25 kB / 0.7763 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4537, allocations: 5.625 kB / 0.7764 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/0.4541, allocations: 314.9 kB / 0.7767 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.4542, allocations: 147.4 kB / 0.7768 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.4543, allocations: 6.828 kB / 0.7768 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.4544, allocations: 16.09 kB / 0.7768 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.4545, allocations: 30.31 kB / 0.7768 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.4545, allocations: 14.62 kB / 0.7769 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001989/0.4547, allocations: 234.3 kB / 0.7771 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4547, allocations: 1.469 kB / 0.7771 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003127/0.4551, allocations: 65.97 kB / 0.7771 GB, free: 14.3 MB / 0.5606 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 (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.0009607/0.456, allocations: 413.5 kB / 0.7775 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000402/0.4564, allocations: 222 kB / 0.7778 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4565, allocations: 1.344 kB / 0.7778 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.4566, allocations: 127.4 kB / 0.7779 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.4569, allocations: 35.14 kB / 0.7779 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007576/0.4577, allocations: 497.5 kB / 0.7784 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.4579, allocations: 0.7581 MB / 0.7791 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000318/0.4582, allocations: 147 kB / 0.7793 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.103e-05/0.4583, allocations: 46.11 kB / 0.7793 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.4583, allocations: 0 / 0.7793 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.006384/0.4647, allocations: 3.087 MB / 0.7823 GB, free: 12.85 MB / 0.5606 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)