Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001126/0.001126, allocations: 101.3 kB / 16.29 MB, free: 6.43 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.001114/0.001114, allocations: 185 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.851/1.851, allocations: 292.3 MB / 0.5495 GB, free: 17.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 71.88 kB / 0.6722 GB, free: 6.566 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.246, allocations: 114.5 MB / 0.7841 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003473/0.2496, allocations: 1.636 MB / 0.7857 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.2512, allocations: 1.082 MB / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.905e-05/0.2512, allocations: 0 / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.2515, allocations: 19.84 kB / 0.7867 GB, free: 1.148 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.2518, allocations: 75.64 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.2521, allocations: 123.1 kB / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.2524, allocations: 241.5 kB / 0.7872 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.2526, allocations: 28.48 kB / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.797e-05/0.2527, allocations: 83.81 kB / 0.7873 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.2529, allocations: 87.72 kB / 0.7874 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.843e-05/0.2529, allocations: 16 kB / 0.7874 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.2531, allocations: 71.95 kB / 0.7874 GB, free: 444 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.2532, allocations: 83.75 kB / 0.7875 GB, free: 360 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.2533, allocations: 99.39 kB / 0.7876 GB, free: 260 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.4227/0.676, allocations: 278.3 kB / 0.7879 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.6761, allocations: 0 / 0.7879 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6761, allocations: 0 / 0.7879 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.752e-05/0.6761, allocations: 0 / 0.7879 GB, free: 46.44 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007709/0.6769, allocations: 0.5263 MB / 0.7884 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.6769, allocations: 11.31 kB / 0.7884 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.962e-05/0.677, allocations: 29.11 kB / 0.7884 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.6773, allocations: 271 kB / 0.7887 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.6773, allocations: 13.19 kB / 0.7887 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.6774, allocations: 16.03 kB / 0.7887 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.6777, allocations: 211.4 kB / 0.7889 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.6777, allocations: 2.906 kB / 0.7889 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.6778, allocations: 6.188 kB / 0.7889 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.6778, allocations: 7.531 kB / 0.7889 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007503/0.6785, allocations: 0.7325 MB / 0.7896 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008237/0.6794, allocations: 0.572 MB / 0.7902 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.6797, allocations: 224 kB / 0.7904 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.6798, allocations: 100.1 kB / 0.7905 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.534e-05/0.6799, allocations: 22.3 kB / 0.7905 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003636/0.6803, allocations: 174.5 kB / 0.7907 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 1.854e-06/0.6803, allocations: 0 / 0.7907 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.0005767/0.6809, allocations: 362.5 kB / 0.7911 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.6809, allocations: 137.1 kB / 0.7912 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.6811, allocations: 303.2 kB / 0.7915 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.6812, allocations: 33.89 kB / 0.7915 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.6812, allocations: 126.5 kB / 0.7916 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.663e-05/0.6813, allocations: 109.8 kB / 0.7917 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.963e-05/0.6814, allocations: 66.56 kB / 0.7918 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.275e-05/0.6815, allocations: 339 kB / 0.7921 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.6816, allocations: 77.61 kB / 0.7922 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.6818, allocations: 134.2 kB / 0.7923 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.682, allocations: 203.9 kB / 0.7925 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.682, allocations: 0 / 0.7925 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003573/0.6824, allocations: 275.3 kB / 0.7928 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.6824, allocations: 4.688 kB / 0.7928 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.6824, allocations: 0 / 0.7928 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.6825, allocations: 3.5 kB / 0.7928 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.6827, allocations: 58.94 kB / 0.7928 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.6827, allocations: 8.469 kB / 0.7928 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.6828, allocations: 24.77 kB / 0.7929 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.6828, allocations: 10.72 kB / 0.7929 GB, free: 44.44 MB / 0.6544 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.0001178/0.683, allocations: 165.6 kB / 0.793 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.683, allocations: 29.38 kB / 0.7931 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.838e-05/0.6831, allocations: 41.59 kB / 0.7931 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.6831, allocations: 3.5 kB / 0.7931 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.6831, allocations: 1.344 kB / 0.7931 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.6831, allocations: 3.328 kB / 0.7931 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.6834, allocations: 325.4 kB / 0.7934 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6834, allocations: 1.375 kB / 0.7934 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.6835, allocations: 58.94 kB / 0.7935 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6835, allocations: 0 / 0.7935 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.6836, allocations: 12.17 kB / 0.7935 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.6836, allocations: 2.625 kB / 0.7935 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6836, allocations: 0 / 0.7935 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.684, allocations: 325.8 kB / 0.7938 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.6841, allocations: 139.6 kB / 0.7939 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.6841, allocations: 9.875 kB / 0.7939 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.6843, allocations: 19.53 kB / 0.794 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.6843, allocations: 23.89 kB / 0.794 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.6844, allocations: 12.06 kB / 0.794 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001635/0.6845, allocations: 238.3 kB / 0.7942 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6845, allocations: 0 / 0.7942 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002791/0.6848, allocations: 65.16 kB / 0.7943 GB, free: 43.82 MB / 0.6544 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.000927/0.6858, allocations: 412.9 kB / 0.7947 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003325/0.6861, allocations: 221.9 kB / 0.7949 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6861, allocations: 0 / 0.7949 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.6863, allocations: 131.9 kB / 0.795 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.6865, allocations: 37.91 kB / 0.7951 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006511/0.6872, allocations: 498.5 kB / 0.7955 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.6874, allocations: 0.754 MB / 0.7963 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002692/0.6876, allocations: 146.5 kB / 0.7964 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.245e-05/0.6877, allocations: 39.27 kB / 0.7964 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.6877, allocations: 0 / 0.7964 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.007004/0.6947, allocations: 3.03 MB / 0.7994 GB, free: 42.58 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)