Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_9_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.001182/0.001182, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001174/0.001174, allocations: 192.6 kB / 16.25 MB, free: 6.637 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.192/1.192, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.065/2.065, allocations: 390.2 MB / 0.6644 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 67.89 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4754/0.4766, allocations: 140.4 MB / 0.9492 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002271/0.4789, allocations: 1.721 MB / 0.9509 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.4801, allocations: 1.145 MB / 0.952 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.051e-05/0.4801, allocations: 1.031 kB / 0.952 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.4803, allocations: 18.83 kB / 0.952 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.4806, allocations: 65.44 kB / 0.9521 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.4809, allocations: 134.4 kB / 0.9522 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.4811, allocations: 248.5 kB / 0.9525 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.136e-05/0.4812, allocations: 18.53 kB / 0.9525 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.783e-05/0.4813, allocations: 86.53 kB / 0.9526 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.4814, allocations: 88.56 kB / 0.9527 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.4815, allocations: 17.19 kB / 0.9527 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.4816, allocations: 81.61 kB / 0.9528 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.831e-05/0.4817, allocations: 86.58 kB / 0.9528 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.307e-05/0.4818, allocations: 109.2 kB / 0.9529 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.4821, allocations: 290.4 kB / 0.9532 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.4821, allocations: 0 / 0.9532 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4821, allocations: 1.438 kB / 0.9532 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.4821, allocations: 0 / 0.9532 GB, free: 6.133 MB / 0.7169 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.0006017/0.4827, allocations: 0.5417 MB / 0.9537 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.4827, allocations: 9.406 kB / 0.9538 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.085e-05/0.4828, allocations: 50.08 kB / 0.9538 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.561e-05/0.4829, allocations: 28.81 kB / 0.9538 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.4831, allocations: 270.6 kB / 0.9541 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.4831, allocations: 10.69 kB / 0.9541 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.4831, allocations: 14.72 kB / 0.9541 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.4835, allocations: 230.6 kB / 0.9543 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.4835, allocations: 0 / 0.9543 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.4835, allocations: 5.312 kB / 0.9543 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.4835, allocations: 3.719 kB / 0.9543 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007579/0.4843, allocations: 0.7418 MB / 0.9551 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006481/0.4849, allocations: 0.5739 MB / 0.9556 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.4852, allocations: 227 kB / 0.9558 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.4854, allocations: 95.91 kB / 0.9559 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.4854, allocations: 21.31 kB / 0.956 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002465/0.4857, allocations: 177.3 kB / 0.9561 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.4857, allocations: 4 kB / 0.9561 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.0005497/0.4862, allocations: 361.9 kB / 0.9565 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.4863, allocations: 136.2 kB / 0.9566 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.4865, allocations: 311.3 kB / 0.9569 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.4865, allocations: 32.02 kB / 0.9569 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.4866, allocations: 125.9 kB / 0.957 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.297e-05/0.4866, allocations: 108.9 kB / 0.9572 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.101e-05/0.4867, allocations: 65.38 kB / 0.9572 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.141e-05/0.4868, allocations: 338.7 kB / 0.9575 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.4869, allocations: 77.86 kB / 0.9576 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.487, allocations: 131.1 kB / 0.9577 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.4873, allocations: 204.3 kB / 0.9579 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4873, allocations: 1.375 kB / 0.9579 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003539/0.4877, allocations: 272.7 kB / 0.9582 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.4877, allocations: 4.406 kB / 0.9582 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.4877, allocations: 1.062 kB / 0.9582 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.4877, allocations: 5.094 kB / 0.9582 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.4879, allocations: 61.72 kB / 0.9583 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.4879, allocations: 6.344 kB / 0.9583 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.488, allocations: 30.64 kB / 0.9583 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.4881, allocations: 16.56 kB / 0.9583 GB, free: 2.395 MB / 0.7169 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.000114/0.4882, allocations: 161.4 kB / 0.9585 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.4882, allocations: 24.09 kB / 0.9585 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005408/0.4888, allocations: 388.4 kB / 0.9589 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4888, allocations: 3.938 kB / 0.9589 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4888, allocations: 3.938 kB / 0.9589 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4888, allocations: 4.688 kB / 0.9589 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.489, allocations: 332.3 kB / 0.9592 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.489, allocations: 0 / 0.9592 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.4892, allocations: 51.72 kB / 0.9592 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.4892, allocations: 2.062 kB / 0.9592 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.4892, allocations: 12.41 kB / 0.9593 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4892, allocations: 5.062 kB / 0.9593 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4892, allocations: 3.938 kB / 0.9593 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.4896, allocations: 314 kB / 0.9596 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.342e-05/0.4897, allocations: 142.6 kB / 0.9597 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.4897, allocations: 6.312 kB / 0.9597 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.4899, allocations: 15.64 kB / 0.9597 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.49, allocations: 31.84 kB / 0.9597 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.49, allocations: 16.7 kB / 0.9598 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000151/0.4901, allocations: 232.7 kB / 0.96 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4901, allocations: 1.062 kB / 0.96 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002638/0.4904, allocations: 60.38 kB / 0.96 GB, free: 1.164 MB / 0.7169 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.001184/0.4916, allocations: 1.167 MB / 0.9612 GB, free: 332 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000419/0.492, allocations: 289.4 kB / 0.9615 GB, free: 236 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.492, allocations: 0 / 0.9615 GB, free: 236 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.4922, allocations: 134.1 kB / 0.9616 GB, free: 180 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.4925, allocations: 37.55 kB / 0.9616 GB, free: 152 kB / 0.7169 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.495, allocations: 2.503 MB / 0.9641 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.4953, allocations: 0.7544 MB / 0.9648 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002882/0.4956, allocations: 143.8 kB / 0.9649 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.4957, allocations: 92.7 kB / 0.965 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.4957, allocations: 0 / 0.965 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5804/1.076, allocations: 5.384 MB / 0.9703 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/1.076, allocations: 287.2 kB / 0.9706 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.928, allocations: 5.406 kB / 0.9706 GB, free: 10.41 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)