Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004805/0.004805, allocations: 101.5 kB / 15.73 MB, free: 6.449 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.001352/0.001352, allocations: 194.2 kB / 16.68 MB, free: 6.352 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.567/2.567, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 71.83 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.264, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002848/0.2669, allocations: 1.661 MB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.2686, allocations: 1.183 MB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.745e-05/0.2687, allocations: 0 / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.2688, allocations: 23.78 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.2691, allocations: 75.56 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.2695, allocations: 147.5 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003142/0.2698, allocations: 245.5 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.139e-05/0.2699, allocations: 27.95 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.27, allocations: 79.83 kB / 1.224 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.2703, allocations: 103.6 kB / 1.224 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.769e-05/0.2703, allocations: 20 kB / 1.224 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.2705, allocations: 79.91 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.316e-05/0.2706, allocations: 75.81 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.2707, allocations: 111.3 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.2711, allocations: 294.8 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2711, allocations: 3.984 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2711, allocations: 4 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.2711, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB 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.000737/0.2718, allocations: 0.5418 MB / 1.225 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2719, allocations: 12.03 kB / 1.225 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.522e-05/0.2719, allocations: 46.73 kB / 1.225 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.548e-05/0.272, allocations: 44.67 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.2723, allocations: 261 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.2723, allocations: 12.38 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.2724, allocations: 16.38 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003444/0.2727, allocations: 220.7 kB / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2727, allocations: 0 / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.2728, allocations: 8 kB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.2728, allocations: 7.984 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008725/0.2736, allocations: 0.731 MB / 1.226 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008416/0.2745, allocations: 0.5745 MB / 1.227 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.2749, allocations: 228.5 kB / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.275, allocations: 100.8 kB / 1.227 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.617e-05/0.2751, allocations: 27.88 kB / 1.227 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003024/0.2754, allocations: 173.5 kB / 1.227 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.2754, allocations: 0 / 1.227 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.0006325/0.276, allocations: 366.9 kB / 1.227 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.729e-05/0.2761, allocations: 132.5 kB / 1.228 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.2764, allocations: 308.9 kB / 1.228 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.2765, allocations: 33.7 kB / 1.228 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.137e-05/0.2765, allocations: 136.6 kB / 1.228 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.663e-05/0.2766, allocations: 107.1 kB / 1.228 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.116e-05/0.2767, allocations: 61.69 kB / 1.228 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2769, allocations: 338.8 kB / 1.229 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.277, allocations: 79.95 kB / 1.229 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.2772, allocations: 128.4 kB / 1.229 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.2775, allocations: 204.7 kB / 1.229 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2775, allocations: 0 / 1.229 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004356/0.278, allocations: 273.9 kB / 1.229 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.278, allocations: 4 kB / 1.229 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.278, allocations: 7.875 kB / 1.229 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.278, allocations: 3.938 kB / 1.229 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.2782, allocations: 55.97 kB / 1.229 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2782, allocations: 7.938 kB / 1.229 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.2784, allocations: 35.83 kB / 1.229 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.2784, allocations: 15.98 kB / 1.229 GB, free: 4.66 MB / 0.9825 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.0001428/0.2786, allocations: 157.8 kB / 1.229 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.2786, allocations: 31.84 kB / 1.229 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006384/0.2793, allocations: 380.7 kB / 1.23 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.2793, allocations: 4 kB / 1.23 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2793, allocations: 3.938 kB / 1.23 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2793, allocations: 0 / 1.23 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.2796, allocations: 325.3 kB / 1.23 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2796, allocations: 4 kB / 1.23 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.2798, allocations: 51.91 kB / 1.23 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2798, allocations: 8 kB / 1.23 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.2798, allocations: 8 kB / 1.23 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2798, allocations: 0 / 1.23 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2798, allocations: 3.938 kB / 1.23 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004498/0.2803, allocations: 318.5 kB / 1.231 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.2804, allocations: 148.8 kB / 1.231 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.2805, allocations: 4 kB / 1.231 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.2806, allocations: 19.98 kB / 1.231 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.2807, allocations: 23.91 kB / 1.231 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.2807, allocations: 19.92 kB / 1.231 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000209/0.2809, allocations: 240.4 kB / 1.231 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2809, allocations: 0 / 1.231 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002639/0.2812, allocations: 52 kB / 1.231 GB, free: 2.793 MB / 0.9825 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.001896/0.2831, allocations: 1.166 MB / 1.232 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003767/0.2835, allocations: 223.8 kB / 1.232 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2835, allocations: 0 / 1.232 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.2837, allocations: 124.7 kB / 1.232 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.2839, allocations: 37.72 kB / 1.233 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.2867, allocations: 2.446 MB / 1.235 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.2871, allocations: 0.7574 MB / 1.236 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003066/0.2874, allocations: 146.8 kB / 1.236 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.2876, allocations: 87.39 kB / 1.236 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.2876, allocations: 0 / 1.236 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8875/1.175, allocations: 5.532 MB / 1.241 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/15.46, allocations: 10.8 kB / 1.241 GB, free: 8.43 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)