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.00121/0.00121, allocations: 100.5 kB / 16.27 MB, free: 6.418 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.001282/0.001282, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.421/1.421, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.766/1.766, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.001425/0.001425, allocations: 71.91 kB / 0.6722 GB, free: 6.637 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2337, allocations: 114.6 MB / 0.784 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003525/0.2372, allocations: 1.624 MB / 0.7856 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001799/0.2391, allocations: 1.086 MB / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.363e-05/0.2392, allocations: 3.938 kB / 0.7867 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.2395, allocations: 23.83 kB / 0.7867 GB, free: 1.207 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.0003811/0.2399, allocations: 75.61 kB / 0.7868 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/0.2403, allocations: 115.8 kB / 0.7869 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000287/0.2406, allocations: 245.5 kB / 0.7871 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.2408, allocations: 16.52 kB / 0.7871 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.752e-05/0.2409, allocations: 83.81 kB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.2411, allocations: 95.7 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.674e-05/0.2412, allocations: 16 kB / 0.7873 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.2413, allocations: 63.97 kB / 0.7874 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.2414, allocations: 79.75 kB / 0.7875 GB, free: 436 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.2415, allocations: 103.4 kB / 0.7876 GB, free: 332 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.2419, allocations: 267.1 kB / 0.7878 GB, free: 64 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2419, allocations: 4 kB / 0.7878 GB, free: 60 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2419, allocations: 0 / 0.7878 GB, free: 60 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.2419, allocations: 4 kB / 0.7878 GB, free: 56 kB / 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.4336/0.6755, allocations: 0.5236 MB / 0.7883 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.6756, allocations: 11.59 kB / 0.7883 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.273e-05/0.6757, allocations: 26.19 kB / 0.7884 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.6759, allocations: 266.5 kB / 0.7886 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.676, allocations: 11.03 kB / 0.7886 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.676, allocations: 18.53 kB / 0.7887 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.6763, allocations: 213.8 kB / 0.7889 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.6763, allocations: 0 / 0.7889 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.6764, allocations: 7.875 kB / 0.7889 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.6764, allocations: 9.25 kB / 0.7889 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007406/0.6771, allocations: 0.7326 MB / 0.7896 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008359/0.678, allocations: 0.5708 MB / 0.7901 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.6783, allocations: 228.2 kB / 0.7904 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.6784, allocations: 98.19 kB / 0.7905 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.117e-05/0.6785, allocations: 23 kB / 0.7905 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003355/0.6788, allocations: 170.1 kB / 0.7906 GB, free: 48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 1.894e-06/0.6788, allocations: 2.625 kB / 0.7906 GB, free: 48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.0005896/0.6794, allocations: 365.4 kB / 0.791 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.6795, allocations: 134 kB / 0.7911 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.6797, allocations: 309.6 kB / 0.7914 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.6798, allocations: 33.58 kB / 0.7914 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.6798, allocations: 118.3 kB / 0.7916 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/0.6799, allocations: 110.3 kB / 0.7917 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.73e-05/0.68, allocations: 63.91 kB / 0.7917 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.771e-05/0.6801, allocations: 344.1 kB / 0.7921 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.6802, allocations: 79.92 kB / 0.7921 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.6803, allocations: 127.5 kB / 0.7923 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.6806, allocations: 202.3 kB / 0.7924 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6806, allocations: 0 / 0.7924 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003479/0.681, allocations: 277.5 kB / 0.7927 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.681, allocations: 4.594 kB / 0.7927 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.681, allocations: 0 / 0.7927 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.681, allocations: 1.656 kB / 0.7927 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.6812, allocations: 62.98 kB / 0.7928 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.6812, allocations: 4.344 kB / 0.7928 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.6814, allocations: 29.25 kB / 0.7928 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.6814, allocations: 10.81 kB / 0.7928 GB, free: 47.07 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.0001213/0.6815, allocations: 166.2 kB / 0.793 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.6816, allocations: 30.56 kB / 0.793 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.067e-05/0.6817, allocations: 40.92 kB / 0.793 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.6817, allocations: 3.469 kB / 0.7931 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.6817, allocations: 5.016 kB / 0.7931 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6817, allocations: 2.062 kB / 0.7931 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.682, allocations: 330.6 kB / 0.7934 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.682, allocations: 0 / 0.7934 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.6821, allocations: 54.02 kB / 0.7934 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6821, allocations: 5.062 kB / 0.7934 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.6822, allocations: 12.86 kB / 0.7934 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.6822, allocations: 2.938 kB / 0.7934 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6822, allocations: 0 / 0.7934 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003832/0.6826, allocations: 314.2 kB / 0.7937 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.915e-05/0.6827, allocations: 142.5 kB / 0.7939 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.6827, allocations: 6.688 kB / 0.7939 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.6829, allocations: 25.47 kB / 0.7939 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.6829, allocations: 30.56 kB / 0.7939 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.683, allocations: 6.844 kB / 0.7939 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001518/0.6831, allocations: 244 kB / 0.7942 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6831, allocations: 0.9688 kB / 0.7942 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002672/0.6834, allocations: 51.78 kB / 0.7942 GB, free: 46.46 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.0008804/0.6843, allocations: 407.6 kB / 0.7946 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000439/0.6847, allocations: 298.5 kB / 0.7949 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.6848, allocations: 0 / 0.7949 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.6849, allocations: 130.5 kB / 0.795 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.6852, allocations: 34.05 kB / 0.7951 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007286/0.6859, allocations: 0.5377 MB / 0.7956 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.6861, allocations: 0.7598 MB / 0.7963 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.658e-05/0.6862, allocations: 49.98 kB / 0.7964 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.6862, allocations: 0 / 0.7964 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.007169/0.6934, allocations: 4.164 MB / 0.8004 GB, free: 45.08 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 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)