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.001413/0.001413, allocations: 105.4 kB / 15.7 MB, free: 24 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.001915/0.001915, allocations: 188.3 kB / 16.64 MB, free: 6.594 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.473/1.473, allocations: 205.1 MB / 222.5 MB, free: 4.609 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.861/1.861, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001423/0.001423, allocations: 74.33 kB / 0.6723 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2626, allocations: 114.6 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003497/0.2662, allocations: 1.635 MB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.2679, allocations: 1.079 MB / 0.7868 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.855e-05/0.268, allocations: 0 / 0.7868 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.2683, allocations: 31.78 kB / 0.7868 GB, free: 9.957 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.0003049/0.2686, allocations: 63.69 kB / 0.7869 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.269, allocations: 126.9 kB / 0.787 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002991/0.2693, allocations: 245.5 kB / 0.7872 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.2694, allocations: 16.22 kB / 0.7872 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.2695, allocations: 79.83 kB / 0.7873 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.2697, allocations: 95.77 kB / 0.7874 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.941e-05/0.2698, allocations: 16 kB / 0.7874 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.2699, allocations: 71.89 kB / 0.7875 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.2701, allocations: 79.75 kB / 0.7876 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.2702, allocations: 103.4 kB / 0.7877 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004444/0.2707, allocations: 279 kB / 0.7879 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2707, allocations: 3.984 kB / 0.7879 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2707, allocations: 0 / 0.7879 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.2707, allocations: 0 / 0.7879 GB, free: 8.797 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.0009366/0.2716, allocations: 0.5305 MB / 0.7885 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.2717, allocations: 12.03 kB / 0.7885 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.656e-05/0.2718, allocations: 24.66 kB / 0.7885 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.2721, allocations: 272.5 kB / 0.7888 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.2722, allocations: 12.38 kB / 0.7888 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.2722, allocations: 12.38 kB / 0.7888 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.2726, allocations: 222.1 kB / 0.789 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.2726, allocations: 0 / 0.789 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.2727, allocations: 4 kB / 0.789 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2727, allocations: 4 kB / 0.789 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009256/0.2736, allocations: 0.7334 MB / 0.7897 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.2747, allocations: 0.5742 MB / 0.7903 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.275, allocations: 231.4 kB / 0.7905 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.2752, allocations: 108.8 kB / 0.7906 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.163e-05/0.2753, allocations: 15.97 kB / 0.7906 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000353/0.2756, allocations: 169.5 kB / 0.7908 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.634e-06/0.2756, allocations: 0 / 0.7908 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.0006569/0.2763, allocations: 367.9 kB / 0.7911 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.879e-05/0.2764, allocations: 136.5 kB / 0.7913 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.2767, allocations: 305 kB / 0.7915 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.2767, allocations: 29.7 kB / 0.7916 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.097e-05/0.2768, allocations: 128.7 kB / 0.7917 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.738e-05/0.2769, allocations: 110.5 kB / 0.7918 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.092e-05/0.277, allocations: 61.69 kB / 0.7919 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.2772, allocations: 342.8 kB / 0.7922 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.2773, allocations: 79.89 kB / 0.7923 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.2775, allocations: 128.4 kB / 0.7924 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.2778, allocations: 204.7 kB / 0.7926 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2778, allocations: 0 / 0.7926 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004284/0.2783, allocations: 277.7 kB / 0.7928 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2783, allocations: 4 kB / 0.7929 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2783, allocations: 0 / 0.7929 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.2783, allocations: 4 kB / 0.7929 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.2785, allocations: 55.91 kB / 0.7929 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.2786, allocations: 4 kB / 0.7929 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.2787, allocations: 35.77 kB / 0.7929 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.2788, allocations: 15.92 kB / 0.793 GB, free: 3.375 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.0001801/0.2789, allocations: 162.4 kB / 0.7931 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.279, allocations: 23.72 kB / 0.7931 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.312e-05/0.2791, allocations: 38.95 kB / 0.7932 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.2791, allocations: 4 kB / 0.7932 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.2791, allocations: 4 kB / 0.7932 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2791, allocations: 0 / 0.7932 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.2795, allocations: 337.1 kB / 0.7935 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2795, allocations: 3.938 kB / 0.7935 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.2797, allocations: 55.92 kB / 0.7936 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.2797, allocations: 3.984 kB / 0.7936 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.2797, allocations: 8 kB / 0.7936 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.2798, allocations: 4 kB / 0.7936 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2798, allocations: 0 / 0.7936 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004902/0.2803, allocations: 320.5 kB / 0.7939 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.2804, allocations: 140.7 kB / 0.794 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.2805, allocations: 8 kB / 0.794 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.2806, allocations: 11.98 kB / 0.794 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/0.2807, allocations: 19.97 kB / 0.7941 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.282e-05/0.2807, allocations: 19.98 kB / 0.7941 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002043/0.2809, allocations: 236.4 kB / 0.7943 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2809, allocations: 3.938 kB / 0.7943 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003062/0.2812, allocations: 59.98 kB / 0.7944 GB, free: 1.848 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.0009296/0.2822, allocations: 397.9 kB / 0.7947 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004207/0.2826, allocations: 224.3 kB / 0.795 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2826, allocations: 0 / 0.795 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.2828, allocations: 128.3 kB / 0.7951 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.2831, allocations: 41.88 kB / 0.7951 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009217/0.284, allocations: 0.5013 MB / 0.7956 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.2845, allocations: 0.7573 MB / 0.7963 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003491/0.2848, allocations: 150.8 kB / 0.7965 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.904e-05/0.2849, allocations: 39.42 kB / 0.7965 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.2849, allocations: 0 / 0.7965 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of Templates: time 0.006855/0.2918, allocations: 3.023 MB / 0.7995 GB, free: 12.72 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)