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.005275/0.005275, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001254/0.001253, allocations: 199 kB / 16.68 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002056/0.002056, allocations: 286.5 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9546/0.9546, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 95.84 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1571, allocations: 86.97 MB / 0.7664 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002671/0.1598, allocations: 1.663 MB / 0.768 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1614, allocations: 1.18 MB / 0.7692 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.1614, allocations: 0 / 0.7692 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.1616, allocations: 15.86 kB / 0.7692 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.1619, allocations: 71.62 kB / 0.7693 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.1623, allocations: 155 kB / 0.7694 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000269/0.1625, allocations: 245.5 kB / 0.7696 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.397e-05/0.1626, allocations: 23.92 kB / 0.7697 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.805e-05/0.1627, allocations: 87.81 kB / 0.7697 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.1629, allocations: 87.72 kB / 0.7698 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.163, allocations: 23.98 kB / 0.7699 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.1631, allocations: 79.91 kB / 0.7699 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.876e-05/0.1632, allocations: 75.81 kB / 0.77 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.809e-05/0.1633, allocations: 107.4 kB / 0.7701 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.1637, allocations: 290.8 kB / 0.7704 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1637, allocations: 4 kB / 0.7704 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1637, allocations: 0 / 0.7704 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.1637, allocations: 3.984 kB / 0.7704 GB, free: 4.305 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.0007029/0.1644, allocations: 0.5455 MB / 0.7709 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.1645, allocations: 8.031 kB / 0.7709 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.653e-05/0.1646, allocations: 28.75 kB / 0.771 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.1648, allocations: 269 kB / 0.7712 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.1648, allocations: 12.38 kB / 0.7712 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.1649, allocations: 16.38 kB / 0.7712 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/0.1652, allocations: 225.4 kB / 0.7715 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1652, allocations: 3.938 kB / 0.7715 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.1653, allocations: 8 kB / 0.7715 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.1653, allocations: 4 kB / 0.7715 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008079/0.1661, allocations: 0.741 MB / 0.7722 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008171/0.1669, allocations: 0.5783 MB / 0.7728 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.1673, allocations: 227.5 kB / 0.773 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.1674, allocations: 96.81 kB / 0.7731 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.189e-05/0.1675, allocations: 19.97 kB / 0.7731 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003023/0.1678, allocations: 181.4 kB / 0.7733 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.1678, allocations: 0 / 0.7733 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.0006222/0.1684, allocations: 360.4 kB / 0.7736 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/0.1685, allocations: 140.5 kB / 0.7737 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.1688, allocations: 304.9 kB / 0.774 GB, free: 356 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.1688, allocations: 33.7 kB / 0.7741 GB, free: 316 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.025e-05/0.1689, allocations: 128.7 kB / 0.7742 GB, free: 184 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.893e-05/0.169, allocations: 115 kB / 0.7743 GB, free: 68 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3055/0.4745, allocations: 64.89 kB / 0.7744 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.4746, allocations: 333.3 kB / 0.7747 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.4748, allocations: 77.33 kB / 0.7747 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.4751, allocations: 124.8 kB / 0.7749 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/0.4754, allocations: 208.7 kB / 0.7751 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4755, allocations: 0.5625 kB / 0.7751 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005105/0.476, allocations: 273.5 kB / 0.7753 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.476, allocations: 4.859 kB / 0.7753 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.476, allocations: 0.7812 kB / 0.7753 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.476, allocations: 1.594 kB / 0.7753 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.4763, allocations: 59.91 kB / 0.7754 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.4763, allocations: 1.172 kB / 0.7754 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.4765, allocations: 32.34 kB / 0.7754 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.4765, allocations: 15.27 kB / 0.7754 GB, free: 14.88 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.0001457/0.4767, allocations: 164.7 kB / 0.7756 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/0.4767, allocations: 27.17 kB / 0.7756 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000668/0.4774, allocations: 370.5 kB / 0.776 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.4774, allocations: 7.469 kB / 0.776 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.4774, allocations: 3.75 kB / 0.776 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.4774, allocations: 1.5 kB / 0.776 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.4777, allocations: 331.4 kB / 0.7763 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4777, allocations: 1.75 kB / 0.7763 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.4779, allocations: 58.91 kB / 0.7764 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4779, allocations: 2.562 kB / 0.7764 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.4779, allocations: 9.766 kB / 0.7764 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.478, allocations: 1.031 kB / 0.7764 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.478, allocations: 5.047 kB / 0.7764 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004457/0.4784, allocations: 321 kB / 0.7767 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.4785, allocations: 148.5 kB / 0.7768 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.4786, allocations: 11.7 kB / 0.7768 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.4787, allocations: 14.19 kB / 0.7768 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.4788, allocations: 32.02 kB / 0.7769 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.4788, allocations: 10.45 kB / 0.7769 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001996/0.4791, allocations: 237.3 kB / 0.7771 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4791, allocations: 1.125 kB / 0.7771 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003014/0.4794, allocations: 59.86 kB / 0.7772 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.000882/0.4803, allocations: 416.2 kB / 0.7776 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003903/0.4807, allocations: 218.5 kB / 0.7778 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4807, allocations: 1.281 kB / 0.7778 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.4809, allocations: 131.4 kB / 0.7779 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.4812, allocations: 32.8 kB / 0.7779 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007034/0.4819, allocations: 0.4962 MB / 0.7784 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.4821, allocations: 0.7625 MB / 0.7792 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003203/0.4824, allocations: 149.9 kB / 0.7793 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.49e-05/0.4825, allocations: 42.8 kB / 0.7793 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.4825, allocations: 3.938 kB / 0.7794 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of Templates: time 0.006327/0.4888, allocations: 3.09 MB / 0.7824 GB, free: 12.8 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)