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.001512/0.001513, allocations: 104.6 kB / 16.35 MB, free: 5.824 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.001706/0.001706, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002229/0.002229, allocations: 293.5 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9246/0.9246, allocations: 169.2 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003269/0.003269, allocations: 94.08 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1589, allocations: 86.97 MB / 0.6816 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002767/0.1617, allocations: 1.657 MB / 0.6832 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.1633, allocations: 1.183 MB / 0.6844 GB, free: 4.629 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.927e-05/0.1633, allocations: 0 / 0.6844 GB, free: 4.629 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.1635, allocations: 31.83 kB / 0.6844 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.1638, allocations: 67.62 kB / 0.6845 GB, free: 4.531 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.1641, allocations: 146.6 kB / 0.6846 GB, free: 4.391 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.1644, allocations: 253.5 kB / 0.6848 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.566e-05/0.1645, allocations: 19.94 kB / 0.6849 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.749e-05/0.1646, allocations: 83.81 kB / 0.6849 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.1648, allocations: 97.89 kB / 0.685 GB, free: 3.945 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.1648, allocations: 20 kB / 0.6851 GB, free: 3.926 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.165, allocations: 75.97 kB / 0.6851 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.877e-05/0.1651, allocations: 83.73 kB / 0.6852 GB, free: 3.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.1652, allocations: 107.4 kB / 0.6853 GB, free: 3.664 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.1655, allocations: 287 kB / 0.6856 GB, free: 3.383 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.175e-06/0.1655, allocations: 4 kB / 0.6856 GB, free: 3.379 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1655, allocations: 4 kB / 0.6856 GB, free: 3.375 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1655, allocations: 0 / 0.6856 GB, free: 3.375 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.0006807/0.1662, allocations: 0.5267 MB / 0.6861 GB, free: 2.801 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.1662, allocations: 12.03 kB / 0.6861 GB, free: 2.789 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.565e-05/0.1663, allocations: 24.66 kB / 0.6861 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.1666, allocations: 272.7 kB / 0.6864 GB, free: 2.457 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.1666, allocations: 16.31 kB / 0.6864 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.1667, allocations: 12.38 kB / 0.6864 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.167, allocations: 233.2 kB / 0.6867 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.167, allocations: 0 / 0.6867 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.167, allocations: 11.98 kB / 0.6867 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.167, allocations: 0 / 0.6867 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008419/0.1679, allocations: 0.7373 MB / 0.6874 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008479/0.1688, allocations: 0.578 MB / 0.6879 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/0.1691, allocations: 227.5 kB / 0.6882 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.1693, allocations: 100.8 kB / 0.6883 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.112e-05/0.1693, allocations: 19.97 kB / 0.6883 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002779/0.1696, allocations: 169.5 kB / 0.6884 GB, free: 280 kB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.734e-06/0.1696, allocations: 0 / 0.6884 GB, free: 280 kB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.2308/0.4004, allocations: 365.4 kB / 0.6888 GB, free: 18.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.4005, allocations: 133.1 kB / 0.6889 GB, free: 18.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.4008, allocations: 307.9 kB / 0.6892 GB, free: 18.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.4008, allocations: 34.3 kB / 0.6892 GB, free: 18.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.4009, allocations: 130.1 kB / 0.6894 GB, free: 18.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.838e-05/0.401, allocations: 104.2 kB / 0.6895 GB, free: 18.15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.05e-05/0.4011, allocations: 62.44 kB / 0.6895 GB, free: 18.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.136e-05/0.4011, allocations: 336 kB / 0.6898 GB, free: 17.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.4013, allocations: 84.44 kB / 0.6899 GB, free: 17.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.4015, allocations: 119.1 kB / 0.69 GB, free: 17.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/0.4018, allocations: 210.8 kB / 0.6902 GB, free: 17.78 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4018, allocations: 2.094 kB / 0.6902 GB, free: 17.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004205/0.4022, allocations: 273.4 kB / 0.6905 GB, free: 17.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4022, allocations: 4.875 kB / 0.6905 GB, free: 17.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4022, allocations: 1.656 kB / 0.6905 GB, free: 17.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4023, allocations: 6 kB / 0.6905 GB, free: 17.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.4025, allocations: 59.44 kB / 0.6906 GB, free: 17.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.4025, allocations: 1.906 kB / 0.6906 GB, free: 17.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.4027, allocations: 33.31 kB / 0.6906 GB, free: 17.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.4027, allocations: 10.89 kB / 0.6906 GB, free: 17.71 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.0001268/0.4028, allocations: 165.8 kB / 0.6908 GB, free: 17.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.98e-05/0.4029, allocations: 25.03 kB / 0.6908 GB, free: 17.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006512/0.4035, allocations: 381 kB / 0.6912 GB, free: 17.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.4036, allocations: 3.344 kB / 0.6912 GB, free: 17.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4036, allocations: 6.281 kB / 0.6912 GB, free: 17.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4036, allocations: 1.781 kB / 0.6912 GB, free: 17.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.4038, allocations: 325.2 kB / 0.6915 GB, free: 17.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4038, allocations: 2.938 kB / 0.6915 GB, free: 17.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.404, allocations: 55.39 kB / 0.6915 GB, free: 17.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.404, allocations: 2.375 kB / 0.6915 GB, free: 17.28 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.4041, allocations: 14.88 kB / 0.6916 GB, free: 17.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4041, allocations: 1.906 kB / 0.6916 GB, free: 17.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4041, allocations: 1.125 kB / 0.6916 GB, free: 17.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004319/0.4045, allocations: 324.4 kB / 0.6919 GB, free: 17.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.4046, allocations: 144 kB / 0.692 GB, free: 16.99 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.4047, allocations: 9.781 kB / 0.692 GB, free: 16.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.4049, allocations: 17.73 kB / 0.692 GB, free: 16.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.4049, allocations: 21.41 kB / 0.6921 GB, free: 16.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.405, allocations: 14.84 kB / 0.6921 GB, free: 16.97 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001798/0.4051, allocations: 235.8 kB / 0.6923 GB, free: 16.85 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4052, allocations: 1.125 kB / 0.6923 GB, free: 16.85 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002901/0.4055, allocations: 57.56 kB / 0.6923 GB, free: 16.84 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.000829/0.4063, allocations: 417.5 kB / 0.6927 GB, free: 16.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003757/0.4067, allocations: 227.6 kB / 0.693 GB, free: 16.64 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4067, allocations: 5.188 kB / 0.693 GB, free: 16.63 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.4069, allocations: 122.5 kB / 0.6931 GB, free: 16.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.4071, allocations: 33.66 kB / 0.6931 GB, free: 16.58 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007038/0.4079, allocations: 0.4972 MB / 0.6936 GB, free: 16.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.408, allocations: 0.7537 MB / 0.6943 GB, free: 15.62 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003209/0.4084, allocations: 146.1 kB / 0.6945 GB, free: 15.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.886e-05/0.4084, allocations: 40.91 kB / 0.6945 GB, free: 15.59 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4085, allocations: 0 / 0.6945 GB, free: 15.59 MB / 494.1 MB Notification: Performance of Templates: time 0.006706/0.4152, allocations: 3.027 MB / 0.6975 GB, free: 15.33 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)