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.001622/0.001622, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001527/0.001527, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002656/0.002656, allocations: 290.5 kB / 291.3 MB, free: 14.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.188/1.188, allocations: 178.6 MB / 0.5079 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002738/0.002738, allocations: 99.84 kB / 0.6071 GB, free: 9.242 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1676, allocations: 89.14 MB / 0.6942 GB, free: 24 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003214/0.1709, allocations: 1.654 MB / 0.6958 GB, free: 14.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.1726, allocations: 1.179 MB / 0.6969 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.972e-05/0.1727, allocations: 0 / 0.6969 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002009/0.1729, allocations: 27.8 kB / 0.697 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.1732, allocations: 63.69 kB / 0.697 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003719/0.1735, allocations: 143 kB / 0.6972 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.1738, allocations: 249.5 kB / 0.6974 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.174, allocations: 24.27 kB / 0.6974 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1741, allocations: 75.83 kB / 0.6975 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.1743, allocations: 103.6 kB / 0.6976 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.12e-05/0.1744, allocations: 16 kB / 0.6976 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.1745, allocations: 79.95 kB / 0.6977 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.1746, allocations: 79.81 kB / 0.6978 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.1747, allocations: 107.3 kB / 0.6979 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.1751, allocations: 279.1 kB / 0.6981 GB, free: 11.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1751, allocations: 4 kB / 0.6981 GB, free: 11.94 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1751, allocations: 0 / 0.6981 GB, free: 11.94 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.433e-06/0.1751, allocations: 0 / 0.6981 GB, free: 11.94 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.0008325/0.176, allocations: 0.5461 MB / 0.6987 GB, free: 11.35 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.176, allocations: 12.03 kB / 0.6987 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.407e-05/0.1761, allocations: 28.64 kB / 0.6987 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.1764, allocations: 268.5 kB / 0.699 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.1765, allocations: 20.31 kB / 0.699 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.1765, allocations: 16.38 kB / 0.699 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003791/0.1769, allocations: 220.9 kB / 0.6992 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1769, allocations: 0 / 0.6992 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.177, allocations: 4 kB / 0.6992 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.177, allocations: 4 kB / 0.6992 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009425/0.1779, allocations: 0.7334 MB / 0.6999 GB, free: 9.992 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000928/0.1788, allocations: 0.5744 MB / 0.7005 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003886/0.1792, allocations: 227.5 kB / 0.7007 GB, free: 9.133 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.1794, allocations: 101.3 kB / 0.7008 GB, free: 9.031 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.727e-05/0.1795, allocations: 16.5 kB / 0.7008 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003416/0.1798, allocations: 185.4 kB / 0.701 GB, free: 8.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.503e-06/0.1798, allocations: 0 / 0.701 GB, free: 8.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0006953/0.1805, allocations: 366.8 kB / 0.7013 GB, free: 8.457 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.87e-05/0.1806, allocations: 132.5 kB / 0.7015 GB, free: 8.297 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003335/0.181, allocations: 308.9 kB / 0.7018 GB, free: 7.992 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.181, allocations: 33.7 kB / 0.7018 GB, free: 7.953 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.507e-05/0.1811, allocations: 124.6 kB / 0.7019 GB, free: 7.828 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.1812, allocations: 118.4 kB / 0.702 GB, free: 7.711 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.76e-05/0.1813, allocations: 61.69 kB / 0.7021 GB, free: 7.645 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1815, allocations: 338.8 kB / 0.7024 GB, free: 7.305 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.1817, allocations: 79.95 kB / 0.7025 GB, free: 7.227 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.1819, allocations: 120.5 kB / 0.7026 GB, free: 7.098 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003358/0.1822, allocations: 205.2 kB / 0.7028 GB, free: 6.895 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1822, allocations: 0 / 0.7028 GB, free: 6.895 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004538/0.1827, allocations: 277.2 kB / 0.7031 GB, free: 6.617 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1827, allocations: 4 kB / 0.7031 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1827, allocations: 3.938 kB / 0.7031 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1827, allocations: 7.938 kB / 0.7031 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.1829, allocations: 55.97 kB / 0.7031 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.1829, allocations: 0 / 0.7031 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.1831, allocations: 35.67 kB / 0.7032 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.1831, allocations: 8 kB / 0.7032 GB, free: 6.504 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.0001755/0.1833, allocations: 161.8 kB / 0.7033 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-05/0.1834, allocations: 31.7 kB / 0.7034 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006898/0.1841, allocations: 376.9 kB / 0.7037 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1841, allocations: 7.938 kB / 0.7037 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1841, allocations: 0 / 0.7037 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.1841, allocations: 7.922 kB / 0.7037 GB, free: 5.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/0.1845, allocations: 329.3 kB / 0.704 GB, free: 5.539 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1845, allocations: 0 / 0.704 GB, free: 5.539 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.1846, allocations: 59.92 kB / 0.7041 GB, free: 5.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1847, allocations: 0 / 0.7041 GB, free: 5.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.1847, allocations: 11.98 kB / 0.7041 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1847, allocations: 3.984 kB / 0.7041 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.1847, allocations: 8 kB / 0.7041 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005024/0.1852, allocations: 313.6 kB / 0.7044 GB, free: 5.133 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.1854, allocations: 144.7 kB / 0.7046 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.1854, allocations: 4.047 kB / 0.7046 GB, free: 4.969 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.1856, allocations: 23.97 kB / 0.7046 GB, free: 4.945 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/0.1857, allocations: 27.91 kB / 0.7046 GB, free: 4.918 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.1857, allocations: 15.98 kB / 0.7046 GB, free: 4.902 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002358/0.186, allocations: 236.4 kB / 0.7049 GB, free: 4.672 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.186, allocations: 0 / 0.7049 GB, free: 4.672 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003074/0.1863, allocations: 63.92 kB / 0.7049 GB, free: 4.609 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.001413/0.1877, allocations: 393.5 kB / 0.7053 GB, free: 4.367 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005335/0.1882, allocations: 304.2 kB / 0.7056 GB, free: 4.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1883, allocations: 0 / 0.7056 GB, free: 4.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.1885, allocations: 127.8 kB / 0.7057 GB, free: 3.945 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.1887, allocations: 31.56 kB / 0.7057 GB, free: 3.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008751/0.1896, allocations: 0.5376 MB / 0.7063 GB, free: 3.336 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.19, allocations: 0.7535 MB / 0.707 GB, free: 2.551 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.1901, allocations: 51.41 kB / 0.707 GB, free: 2.5 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.1901, allocations: 4 kB / 0.707 GB, free: 2.496 MB / 0.545 GB Notification: Performance of Templates: time 0.2431/0.4332, allocations: 4.184 MB / 0.7111 GB, free: 50.33 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)