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.001609/0.001609, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.524/1.524, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.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.8/1.8, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001497/0.001497, allocations: 71.12 kB / 0.6715 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.252, allocations: 114.5 MB / 0.7834 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003208/0.2553, allocations: 1.643 MB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.2568, allocations: 1.075 MB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.055e-05/0.2569, allocations: 0 / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.2571, allocations: 23.8 kB / 0.786 GB, free: 10.75 MB / 0.6075 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.000275/0.2574, allocations: 71.69 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.2577, allocations: 122.7 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.258, allocations: 237.5 kB / 0.7865 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.2581, allocations: 24.47 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.144e-05/0.2582, allocations: 87.77 kB / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.2584, allocations: 92.55 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.003e-05/0.2584, allocations: 20 kB / 0.7867 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.2586, allocations: 59.98 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.2587, allocations: 87.67 kB / 0.7868 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.2588, allocations: 103.4 kB / 0.7869 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.2591, allocations: 271.1 kB / 0.7872 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2591, allocations: 0 / 0.7872 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2591, allocations: 0 / 0.7872 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2591, allocations: 0 / 0.7872 GB, free: 9.598 MB / 0.6075 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.0007226/0.2598, allocations: 0.5305 MB / 0.7877 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2599, allocations: 12.03 kB / 0.7877 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.09e-05/0.26, allocations: 24.66 kB / 0.7877 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.2602, allocations: 268.6 kB / 0.788 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.2603, allocations: 12.38 kB / 0.788 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.2603, allocations: 12.38 kB / 0.788 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.2607, allocations: 222.1 kB / 0.7882 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2607, allocations: 4 kB / 0.7882 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.2607, allocations: 8 kB / 0.7882 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2607, allocations: 4 kB / 0.7882 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007588/0.2615, allocations: 0.7295 MB / 0.7889 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008746/0.2624, allocations: 0.5742 MB / 0.7895 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.2627, allocations: 227.5 kB / 0.7897 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.2629, allocations: 100.8 kB / 0.7898 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.135e-05/0.2629, allocations: 23.97 kB / 0.7898 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003311/0.2633, allocations: 165.5 kB / 0.79 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.763e-06/0.2633, allocations: 0 / 0.79 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.0006624/0.2639, allocations: 367.9 kB / 0.7903 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/0.264, allocations: 136.5 kB / 0.7905 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.2643, allocations: 309 kB / 0.7908 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.2643, allocations: 29.7 kB / 0.7908 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.658e-05/0.2644, allocations: 120.7 kB / 0.7909 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.445e-05/0.2645, allocations: 114.4 kB / 0.791 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.062e-05/0.2646, allocations: 65.69 kB / 0.7911 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2647, allocations: 338.8 kB / 0.7914 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.2649, allocations: 75.95 kB / 0.7915 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.265, allocations: 128.4 kB / 0.7916 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.2654, allocations: 204.7 kB / 0.7918 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.2654, allocations: 3.984 kB / 0.7918 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003946/0.2658, allocations: 273.8 kB / 0.7921 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2658, allocations: 7.938 kB / 0.7921 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.2658, allocations: 0 / 0.7921 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2658, allocations: 4 kB / 0.7921 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.266, allocations: 59.91 kB / 0.7921 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.266, allocations: 11.94 kB / 0.7921 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.2662, allocations: 27.77 kB / 0.7922 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.2662, allocations: 11.94 kB / 0.7922 GB, free: 4.184 MB / 0.6075 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.0001399/0.2664, allocations: 166.4 kB / 0.7923 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.2664, allocations: 23.72 kB / 0.7924 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.457e-05/0.2665, allocations: 34.97 kB / 0.7924 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.2665, allocations: 4 kB / 0.7924 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2665, allocations: 4 kB / 0.7924 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.2666, allocations: 3.984 kB / 0.7924 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.2669, allocations: 333.2 kB / 0.7927 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2669, allocations: 0 / 0.7927 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.267, allocations: 59.91 kB / 0.7928 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.267, allocations: 0 / 0.7928 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.2671, allocations: 11.98 kB / 0.7928 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.2671, allocations: 4 kB / 0.7928 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2671, allocations: 0 / 0.7928 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004706/0.2675, allocations: 316.6 kB / 0.7931 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.2677, allocations: 148.7 kB / 0.7932 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.2677, allocations: 8 kB / 0.7932 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.2679, allocations: 15.98 kB / 0.7933 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.268, allocations: 27.91 kB / 0.7933 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.268, allocations: 8 kB / 0.7933 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001927/0.2682, allocations: 240.4 kB / 0.7935 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2682, allocations: 0 / 0.7935 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002999/0.2685, allocations: 64 kB / 0.7936 GB, free: 2.648 MB / 0.6075 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.0008654/0.2694, allocations: 392.2 kB / 0.794 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005063/0.2699, allocations: 300.2 kB / 0.7942 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2699, allocations: 0 / 0.7942 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.2701, allocations: 128.3 kB / 0.7944 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.2703, allocations: 44.95 kB / 0.7944 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007238/0.2711, allocations: 0.4974 MB / 0.7949 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.2713, allocations: 0.7535 MB / 0.7956 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002994/0.2717, allocations: 150.8 kB / 0.7958 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.866e-05/0.2717, allocations: 43.36 kB / 0.7958 GB, free: 472 kB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2717, allocations: 4 kB / 0.7958 GB, free: 468 kB / 0.6075 GB Notification: Performance of Templates: time 0.006438/0.2782, allocations: 3.024 MB / 0.7988 GB, free: 13.45 MB / 0.6231 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 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)