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.002013/0.002012, allocations: 107.4 kB / 16.41 MB, free: 6.453 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.002064/0.002064, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002514/0.002514, allocations: 285.8 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.972/0.972, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 103.9 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4643/0.4664, allocations: 86.98 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003124/0.4696, allocations: 1.661 MB / 0.7687 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.4714, allocations: 1.179 MB / 0.7698 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.4715, allocations: 0 / 0.7698 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.4717, allocations: 23.86 kB / 0.7699 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.472, allocations: 63.62 kB / 0.7699 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.4724, allocations: 145.7 kB / 0.7701 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.4727, allocations: 249.5 kB / 0.7703 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.4728, allocations: 16 kB / 0.7703 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.4729, allocations: 87.81 kB / 0.7704 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.4732, allocations: 95.7 kB / 0.7705 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.785e-05/0.4732, allocations: 20 kB / 0.7705 GB, free: 380 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.4734, allocations: 83.95 kB / 0.7706 GB, free: 296 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.389e-05/0.4735, allocations: 83.75 kB / 0.7707 GB, free: 212 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.4736, allocations: 103.4 kB / 0.7708 GB, free: 108 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003907/0.474, allocations: 291.1 kB / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.474, allocations: 11.94 kB / 0.7711 GB, free: 15.8 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.383e-06/0.474, allocations: 0 / 0.7711 GB, free: 15.8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.474, allocations: 0 / 0.7711 GB, free: 15.8 MB / 0.545 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.0008314/0.4749, allocations: 0.533 MB / 0.7716 GB, free: 15.22 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.4749, allocations: 8.031 kB / 0.7716 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.323e-05/0.475, allocations: 24.66 kB / 0.7716 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.4753, allocations: 268.7 kB / 0.7719 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.4753, allocations: 12.38 kB / 0.7719 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.4754, allocations: 16.38 kB / 0.7719 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/0.4758, allocations: 225.4 kB / 0.7721 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.4758, allocations: 0 / 0.7721 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.4758, allocations: 8 kB / 0.7721 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.4758, allocations: 4 kB / 0.7721 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008448/0.4767, allocations: 0.741 MB / 0.7728 GB, free: 13.87 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009012/0.4776, allocations: 0.5743 MB / 0.7734 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.478, allocations: 227.5 kB / 0.7736 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.4781, allocations: 100.8 kB / 0.7737 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.149e-05/0.4782, allocations: 15.97 kB / 0.7737 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003593/0.4785, allocations: 173.5 kB / 0.7739 GB, free: 12.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 5.43e-06/0.4786, allocations: 4 kB / 0.7739 GB, free: 12.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0006827/0.4792, allocations: 372.2 kB / 0.7743 GB, free: 12.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.347e-05/0.4793, allocations: 132.5 kB / 0.7744 GB, free: 12.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/0.4796, allocations: 304.9 kB / 0.7747 GB, free: 11.88 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.4797, allocations: 33.7 kB / 0.7747 GB, free: 11.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.103e-05/0.4798, allocations: 124.7 kB / 0.7748 GB, free: 11.72 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.965e-05/0.4799, allocations: 118.4 kB / 0.7749 GB, free: 11.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.02e-05/0.48, allocations: 61.69 kB / 0.775 GB, free: 11.54 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.4801, allocations: 342.8 kB / 0.7753 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.4803, allocations: 75.95 kB / 0.7754 GB, free: 11.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.4804, allocations: 127.5 kB / 0.7755 GB, free: 10.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.4808, allocations: 204.7 kB / 0.7757 GB, free: 10.78 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4808, allocations: 0 / 0.7757 GB, free: 10.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000443/0.4812, allocations: 273.8 kB / 0.776 GB, free: 10.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.4813, allocations: 6.031 kB / 0.776 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4813, allocations: 0 / 0.776 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.4813, allocations: 8 kB / 0.776 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.4815, allocations: 55.91 kB / 0.776 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.4815, allocations: 4 kB / 0.776 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.4817, allocations: 31.72 kB / 0.7761 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.4817, allocations: 15.98 kB / 0.7761 GB, free: 10.39 MB / 0.545 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.0001751/0.4819, allocations: 169.7 kB / 0.7763 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.482, allocations: 23.72 kB / 0.7763 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006916/0.4827, allocations: 380.7 kB / 0.7766 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.4827, allocations: 4 kB / 0.7766 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4827, allocations: 0 / 0.7766 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4827, allocations: 7.938 kB / 0.7766 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.483, allocations: 333.2 kB / 0.777 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.483, allocations: 0 / 0.777 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.4832, allocations: 55.91 kB / 0.777 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4832, allocations: 0 / 0.777 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.4832, allocations: 8 kB / 0.777 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.4832, allocations: 4 kB / 0.777 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4833, allocations: 0 / 0.777 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004591/0.4837, allocations: 322.2 kB / 0.7773 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.4839, allocations: 144.7 kB / 0.7775 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.4839, allocations: 8 kB / 0.7775 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.4841, allocations: 19.92 kB / 0.7775 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.4842, allocations: 23.91 kB / 0.7775 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.4842, allocations: 15.98 kB / 0.7775 GB, free: 8.793 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002055/0.4844, allocations: 232.5 kB / 0.7778 GB, free: 8.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4844, allocations: 0 / 0.7778 GB, free: 8.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002991/0.4847, allocations: 59.98 kB / 0.7778 GB, free: 8.512 MB / 0.545 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.0009709/0.4857, allocations: 416.5 kB / 0.7782 GB, free: 8.246 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004096/0.4861, allocations: 219.8 kB / 0.7784 GB, free: 8.031 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4861, allocations: 0 / 0.7784 GB, free: 8.031 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.4863, allocations: 123.8 kB / 0.7785 GB, free: 7.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.4866, allocations: 35.45 kB / 0.7786 GB, free: 7.871 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008461/0.4875, allocations: 0.5182 MB / 0.7791 GB, free: 7.316 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.4878, allocations: 0.7617 MB / 0.7798 GB, free: 6.531 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.488, allocations: 51.41 kB / 0.7799 GB, free: 6.48 MB / 0.545 GB Notification: Performance of SimCode: time 1.974e-06/0.488, allocations: 0 / 0.7799 GB, free: 6.48 MB / 0.545 GB Notification: Performance of Templates: time 0.007832/0.4958, allocations: 4.229 MB / 0.784 GB, free: 2.273 MB / 0.545 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)