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: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004853/0.004853, allocations: 98.09 kB / 15.73 MB, free: 6.012 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.00153/0.00153, allocations: 197.3 kB / 16.67 MB, free: 5.949 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00259/0.00259, allocations: 282.8 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.032/1.032, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004015/0.004015, allocations: 100.2 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1602, allocations: 86.98 MB / 0.7659 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002715/0.163, allocations: 1.663 MB / 0.7675 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.1646, allocations: 1.18 MB / 0.7687 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.606e-05/0.1646, allocations: 0 / 0.7687 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.1648, allocations: 23.84 kB / 0.7687 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.165, allocations: 73.38 kB / 0.7688 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.1654, allocations: 154 kB / 0.7689 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.1657, allocations: 245.5 kB / 0.7692 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.054e-05/0.1658, allocations: 19.94 kB / 0.7692 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.278e-05/0.1659, allocations: 79.81 kB / 0.7693 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.1661, allocations: 95.77 kB / 0.7694 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.1662, allocations: 20 kB / 0.7694 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.1663, allocations: 83.89 kB / 0.7695 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.109e-05/0.1664, allocations: 83.75 kB / 0.7695 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.1665, allocations: 103.4 kB / 0.7696 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.1668, allocations: 290.8 kB / 0.7699 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1669, allocations: 0 / 0.7699 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1669, allocations: 0 / 0.7699 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1669, allocations: 0 / 0.7699 GB, free: 4.801 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.0007497/0.1676, allocations: 0.5455 MB / 0.7704 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.1677, allocations: 12.03 kB / 0.7705 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.464e-05/0.1677, allocations: 50.73 kB / 0.7705 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.706e-05/0.1678, allocations: 28.75 kB / 0.7705 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.1681, allocations: 269 kB / 0.7708 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.1681, allocations: 16.38 kB / 0.7708 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.1682, allocations: 16.38 kB / 0.7708 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.1685, allocations: 225.2 kB / 0.771 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.1685, allocations: 4 kB / 0.771 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.1686, allocations: 8 kB / 0.771 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.1686, allocations: 4 kB / 0.7711 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008575/0.1694, allocations: 0.741 MB / 0.7718 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008529/0.1703, allocations: 0.5783 MB / 0.7723 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000343/0.1706, allocations: 223.5 kB / 0.7726 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.1708, allocations: 100.8 kB / 0.7726 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.309e-05/0.1709, allocations: 19.97 kB / 0.7727 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003088/0.1712, allocations: 173.5 kB / 0.7728 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 3.466e-06/0.1712, allocations: 0 / 0.7728 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.0006331/0.1718, allocations: 368.3 kB / 0.7732 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.6e-05/0.1719, allocations: 132.5 kB / 0.7733 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.1722, allocations: 304.9 kB / 0.7736 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.1723, allocations: 37.7 kB / 0.7736 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.74e-05/0.1723, allocations: 132.7 kB / 0.7738 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.028e-05/0.1724, allocations: 115 kB / 0.7739 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.103e-05/0.1725, allocations: 65.69 kB / 0.7739 GB, free: 436 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.1727, allocations: 334.8 kB / 0.7743 GB, free: 92 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.1728, allocations: 75.95 kB / 0.7743 GB, free: 16 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.297/0.4699, allocations: 123.2 kB / 0.7744 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.4702, allocations: 212.9 kB / 0.7746 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4703, allocations: 0.9688 kB / 0.7746 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004533/0.4707, allocations: 265.9 kB / 0.7749 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.4707, allocations: 5.766 kB / 0.7749 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.4708, allocations: 1.375 kB / 0.7749 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.4708, allocations: 2.312 kB / 0.7749 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.471, allocations: 60.56 kB / 0.775 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.471, allocations: 7 kB / 0.775 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.4712, allocations: 31.73 kB / 0.775 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.4712, allocations: 13.38 kB / 0.775 GB, free: 14.89 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.0001312/0.4714, allocations: 161.4 kB / 0.7752 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.4714, allocations: 27.14 kB / 0.7752 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005983/0.472, allocations: 373.9 kB / 0.7756 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.472, allocations: 5.453 kB / 0.7756 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.472, allocations: 3.75 kB / 0.7756 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.472, allocations: 5.234 kB / 0.7756 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.4723, allocations: 329 kB / 0.7759 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4723, allocations: 1.969 kB / 0.7759 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.4725, allocations: 54.98 kB / 0.7759 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4725, allocations: 2.031 kB / 0.7759 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.4725, allocations: 11.14 kB / 0.7759 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4725, allocations: 2.156 kB / 0.776 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4725, allocations: 1.25 kB / 0.776 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004028/0.4729, allocations: 323.5 kB / 0.7763 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.4731, allocations: 146.4 kB / 0.7764 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.4731, allocations: 8.125 kB / 0.7764 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.4733, allocations: 15.05 kB / 0.7764 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.4733, allocations: 23.88 kB / 0.7764 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.4734, allocations: 12.47 kB / 0.7765 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001829/0.4735, allocations: 238 kB / 0.7767 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4736, allocations: 0.625 kB / 0.7767 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003596/0.4739, allocations: 70.22 kB / 0.7768 GB, free: 14.25 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.001924/0.4758, allocations: 1.153 MB / 0.7779 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003663/0.4762, allocations: 223.3 kB / 0.7781 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4762, allocations: 1.062 kB / 0.7781 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.4764, allocations: 129.6 kB / 0.7782 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.4767, allocations: 36.88 kB / 0.7783 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.479, allocations: 2.45 MB / 0.7806 GB, free: 12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.4792, allocations: 0.7588 MB / 0.7814 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002979/0.4795, allocations: 148.5 kB / 0.7815 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.4796, allocations: 87.58 kB / 0.7816 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.4797, allocations: 0 / 0.7816 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.289/0.7687, allocations: 5.524 MB / 0.787 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.592/9.361, allocations: 15.45 kB / 0.787 GB, free: 10.41 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)