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.001095/0.001095, allocations: 103.9 kB / 15.98 MB, free: 6.348 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.001115/0.001115, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.265/1.265, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002101/0.002101, allocations: 283.8 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.938/0.938, allocations: 169.2 MB / 0.4985 GB, free: 4.723 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 93.55 kB / 0.5953 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1625, allocations: 86.97 MB / 0.6803 GB, free: 8.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002861/0.1654, allocations: 1.711 MB / 0.682 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.1669, allocations: 1.162 MB / 0.6831 GB, free: 5.668 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.167, allocations: 0 / 0.6831 GB, free: 5.668 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.1673, allocations: 19.92 kB / 0.6831 GB, free: 5.648 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.1675, allocations: 55.77 kB / 0.6832 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.1679, allocations: 135 kB / 0.6833 GB, free: 5.465 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.1682, allocations: 245.5 kB / 0.6835 GB, free: 5.223 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.362e-05/0.1683, allocations: 23.92 kB / 0.6835 GB, free: 5.199 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.376e-05/0.1684, allocations: 83.83 kB / 0.6836 GB, free: 5.117 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.1686, allocations: 95.64 kB / 0.6837 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.1686, allocations: 16 kB / 0.6837 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.1688, allocations: 83.95 kB / 0.6838 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.1689, allocations: 79.81 kB / 0.6839 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.9e-05/0.169, allocations: 103.4 kB / 0.684 GB, free: 4.746 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.1692, allocations: 211.6 kB / 0.6842 GB, free: 4.539 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1692, allocations: 0 / 0.6842 GB, free: 4.539 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1692, allocations: 0 / 0.6842 GB, free: 4.539 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1692, allocations: 0 / 0.6842 GB, free: 4.539 MB / 494.1 MB 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.0007088/0.17, allocations: 0.5383 MB / 0.6847 GB, free: 3.953 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.17, allocations: 12.03 kB / 0.6847 GB, free: 3.941 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.193e-05/0.1701, allocations: 24.66 kB / 0.6847 GB, free: 3.918 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.1704, allocations: 272.8 kB / 0.685 GB, free: 3.609 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.1704, allocations: 8.375 kB / 0.685 GB, free: 3.602 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.1704, allocations: 20.31 kB / 0.685 GB, free: 3.582 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.1708, allocations: 221.9 kB / 0.6852 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1708, allocations: 0 / 0.6852 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.1708, allocations: 11.98 kB / 0.6853 GB, free: 3.336 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1709, allocations: 8 kB / 0.6853 GB, free: 3.328 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008662/0.1717, allocations: 0.7373 MB / 0.686 GB, free: 2.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008268/0.1726, allocations: 0.5781 MB / 0.6866 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/0.1729, allocations: 220 kB / 0.6868 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.1731, allocations: 104.8 kB / 0.6869 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.607e-05/0.1731, allocations: 27.95 kB / 0.6869 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003414/0.1735, allocations: 173.5 kB / 0.6871 GB, free: 1.422 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.954e-06/0.1735, allocations: 0 / 0.6871 GB, free: 1.422 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006088/0.1741, allocations: 356.2 kB / 0.6874 GB, free: 1.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/0.1742, allocations: 136.5 kB / 0.6875 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.1745, allocations: 316.9 kB / 0.6878 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.1745, allocations: 29.7 kB / 0.6879 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.114e-05/0.1746, allocations: 136.6 kB / 0.688 GB, free: 432 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.415e-05/0.1747, allocations: 102.5 kB / 0.6881 GB, free: 328 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.1e-05/0.1747, allocations: 65.69 kB / 0.6881 GB, free: 256 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.2389/0.4137, allocations: 334.8 kB / 0.6885 GB, free: 18.22 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.414, allocations: 74.66 kB / 0.6885 GB, free: 18.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.4142, allocations: 125 kB / 0.6887 GB, free: 18.19 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.4145, allocations: 215.7 kB / 0.6889 GB, free: 18.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4145, allocations: 0 / 0.6889 GB, free: 18.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004574/0.415, allocations: 272.9 kB / 0.6891 GB, free: 18.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.415, allocations: 8.094 kB / 0.6891 GB, free: 18.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.415, allocations: 0.6094 kB / 0.6891 GB, free: 18.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.4151, allocations: 1.562 kB / 0.6891 GB, free: 18.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.4153, allocations: 56.78 kB / 0.6892 GB, free: 18.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.4153, allocations: 1.188 kB / 0.6892 GB, free: 18.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.4155, allocations: 33.98 kB / 0.6892 GB, free: 18.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.4155, allocations: 12.42 kB / 0.6892 GB, free: 18.14 MB / 494.1 MB 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.0001512/0.4157, allocations: 162.1 kB / 0.6894 GB, free: 18.03 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.4157, allocations: 24.72 kB / 0.6894 GB, free: 18.03 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006392/0.4164, allocations: 378.5 kB / 0.6898 GB, free: 17.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.4164, allocations: 5.5 kB / 0.6898 GB, free: 17.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4164, allocations: 8.094 kB / 0.6898 GB, free: 17.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4164, allocations: 1.078 kB / 0.6898 GB, free: 17.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.4167, allocations: 325.8 kB / 0.6901 GB, free: 17.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4167, allocations: 0 / 0.6901 GB, free: 17.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.4169, allocations: 59.28 kB / 0.6901 GB, free: 17.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4169, allocations: 1.562 kB / 0.6901 GB, free: 17.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.4169, allocations: 10.09 kB / 0.6902 GB, free: 17.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.4169, allocations: 6.312 kB / 0.6902 GB, free: 17.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.417, allocations: 3.938 kB / 0.6902 GB, free: 17.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.4174, allocations: 315.8 kB / 0.6905 GB, free: 17.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.4175, allocations: 143.8 kB / 0.6906 GB, free: 17.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.4176, allocations: 6.656 kB / 0.6906 GB, free: 17.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.4177, allocations: 16.14 kB / 0.6906 GB, free: 17.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.4178, allocations: 31.53 kB / 0.6907 GB, free: 17.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.4178, allocations: 11.89 kB / 0.6907 GB, free: 17.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002011/0.418, allocations: 235.7 kB / 0.6909 GB, free: 17.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.418, allocations: 4.406 kB / 0.6909 GB, free: 17.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002863/0.4183, allocations: 60.8 kB / 0.691 GB, free: 17.49 MB / 494.1 MB 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.0009193/0.4193, allocations: 408.7 kB / 0.6913 GB, free: 17.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005076/0.4198, allocations: 295.1 kB / 0.6916 GB, free: 17.28 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4198, allocations: 0.8125 kB / 0.6916 GB, free: 17.28 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.42, allocations: 130.5 kB / 0.6918 GB, free: 17.24 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.4203, allocations: 38.03 kB / 0.6918 GB, free: 17.22 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007579/0.421, allocations: 0.6071 MB / 0.6924 GB, free: 16.85 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.4212, allocations: 0.7555 MB / 0.6931 GB, free: 16.14 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.4213, allocations: 51.36 kB / 0.6932 GB, free: 16.13 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4213, allocations: 3.938 kB / 0.6932 GB, free: 16.12 MB / 494.1 MB Notification: Performance of Templates: time 0.007294/0.4286, allocations: 4.189 MB / 0.6973 GB, free: 15.64 MB / 494.1 MB 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)