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.0008256/0.0008255, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.005257/0.005257, allocations: 171.3 kB / 16.26 MB, free: 6.676 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.305/1.305, allocations: 223.3 MB / 240.3 MB, free: 5.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.001719/0.001719, allocations: 270.5 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9187/0.9187, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004053/0.0004054, allocations: 14.19 kB / 0.5987 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1502, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.001842/0.1521, allocations: 1.37 MB / 0.6865 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.1536, allocations: 1.134 MB / 0.6876 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.1536, allocations: 0 / 0.6876 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.1538, allocations: 27.91 kB / 0.6876 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.1541, allocations: 48.92 kB / 0.6876 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.1544, allocations: 133.7 kB / 0.6878 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.1547, allocations: 229.5 kB / 0.688 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1548, allocations: 23.92 kB / 0.688 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.493e-05/0.1549, allocations: 72.89 kB / 0.6881 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.1551, allocations: 91.7 kB / 0.6882 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.1551, allocations: 8 kB / 0.6882 GB, free: 11.92 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.1552, allocations: 64.5 kB / 0.6882 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.425e-05/0.1553, allocations: 74.09 kB / 0.6883 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.1554, allocations: 117.1 kB / 0.6884 GB, free: 11.67 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.1557, allocations: 275.1 kB / 0.6887 GB, free: 11.4 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1557, allocations: 3.938 kB / 0.6887 GB, free: 11.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1557, allocations: 0 / 0.6887 GB, free: 11.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1558, allocations: 4 kB / 0.6887 GB, free: 11.39 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.0006412/0.1564, allocations: 488.7 kB / 0.6892 GB, free: 10.87 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.1564, allocations: 11.62 kB / 0.6892 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.083e-05/0.1565, allocations: 28.66 kB / 0.6892 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.1568, allocations: 276.7 kB / 0.6895 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.1568, allocations: 16.38 kB / 0.6895 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.1568, allocations: 12.38 kB / 0.6895 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003378/0.1572, allocations: 225.2 kB / 0.6897 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1572, allocations: 4.562 kB / 0.6897 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.1572, allocations: 4 kB / 0.6897 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1572, allocations: 4.656 kB / 0.6897 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008068/0.1581, allocations: 0.7379 MB / 0.6904 GB, free: 9.504 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008438/0.1589, allocations: 0.5782 MB / 0.691 GB, free: 8.879 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.1593, allocations: 236 kB / 0.6912 GB, free: 8.641 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.1594, allocations: 98.78 kB / 0.6913 GB, free: 8.543 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.1595, allocations: 19.97 kB / 0.6913 GB, free: 8.523 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003071/0.1598, allocations: 169.5 kB / 0.6915 GB, free: 8.344 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.724e-06/0.1598, allocations: 4 kB / 0.6915 GB, free: 8.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006022/0.1604, allocations: 372.2 kB / 0.6919 GB, free: 7.973 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.1605, allocations: 132.5 kB / 0.692 GB, free: 7.812 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.1607, allocations: 304.9 kB / 0.6923 GB, free: 7.512 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.1608, allocations: 33.7 kB / 0.6923 GB, free: 7.473 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.263e-05/0.1608, allocations: 128.6 kB / 0.6924 GB, free: 7.344 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.156e-05/0.1609, allocations: 102.5 kB / 0.6925 GB, free: 7.242 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.161, allocations: 33.72 kB / 0.6926 GB, free: 7.203 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1611, allocations: 334.8 kB / 0.6929 GB, free: 6.867 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.1612, allocations: 79.95 kB / 0.693 GB, free: 6.789 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.1614, allocations: 127.6 kB / 0.6931 GB, free: 6.652 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.1617, allocations: 205.3 kB / 0.6933 GB, free: 6.449 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1617, allocations: 0 / 0.6933 GB, free: 6.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000389/0.1621, allocations: 273.1 kB / 0.6935 GB, free: 6.176 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1621, allocations: 4 kB / 0.6935 GB, free: 6.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1621, allocations: 3.984 kB / 0.6935 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1622, allocations: 8 kB / 0.6936 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.1624, allocations: 59.91 kB / 0.6936 GB, free: 6.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1624, allocations: 4 kB / 0.6936 GB, free: 6.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.1625, allocations: 27.69 kB / 0.6936 GB, free: 6.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.1626, allocations: 11.98 kB / 0.6937 GB, free: 6.059 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.0001586/0.1627, allocations: 163.1 kB / 0.6938 GB, free: 5.891 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.1628, allocations: 27.66 kB / 0.6938 GB, free: 5.863 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006236/0.1634, allocations: 376.8 kB / 0.6942 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1634, allocations: 0 / 0.6942 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1634, allocations: 4 kB / 0.6942 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.1635, allocations: 7.922 kB / 0.6942 GB, free: 5.473 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.1638, allocations: 325.2 kB / 0.6945 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1638, allocations: 0 / 0.6945 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.1639, allocations: 59.91 kB / 0.6946 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.164, allocations: 4 kB / 0.6946 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.164, allocations: 19.98 kB / 0.6946 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.164, allocations: 0 / 0.6946 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.164, allocations: 0 / 0.6946 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/0.1644, allocations: 322.1 kB / 0.6949 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.1646, allocations: 152.6 kB / 0.695 GB, free: 4.523 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.1646, allocations: 4 kB / 0.6951 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.1648, allocations: 38.09 kB / 0.6951 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.1648, allocations: 23.91 kB / 0.6951 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.1649, allocations: 16.03 kB / 0.6951 GB, free: 4.445 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001871/0.1651, allocations: 228.5 kB / 0.6953 GB, free: 4.219 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1651, allocations: 0 / 0.6953 GB, free: 4.219 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002857/0.1654, allocations: 63.98 kB / 0.6954 GB, free: 4.156 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.0009032/0.1663, allocations: 408.7 kB / 0.6958 GB, free: 3.898 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003644/0.1666, allocations: 219.8 kB / 0.696 GB, free: 3.684 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1667, allocations: 4 kB / 0.696 GB, free: 3.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.1668, allocations: 123.8 kB / 0.6961 GB, free: 3.559 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.1671, allocations: 36.66 kB / 0.6962 GB, free: 3.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007916/0.1679, allocations: 0.5779 MB / 0.6967 GB, free: 2.918 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.1682, allocations: 0.7586 MB / 0.6975 GB, free: 2.137 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003188/0.1685, allocations: 150.8 kB / 0.6976 GB, free: 1.988 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.503e-05/0.1686, allocations: 43.42 kB / 0.6977 GB, free: 1.945 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1686, allocations: 3.938 kB / 0.6977 GB, free: 1.941 MB / 494.1 MB Notification: Performance of Templates: time 0.006151/0.1748, allocations: 2.907 MB / 0.7005 GB, free: 15.09 MB / 0.4981 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)