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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001189/0.001189, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001169/0.001169, allocations: 193.8 kB / 16.14 MB, free: 6.711 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.177/1.177, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.019/2.019, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 67.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.4628, allocations: 140.4 MB / 0.9491 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.00222/0.465, allocations: 1.704 MB / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.4661, allocations: 1.15 MB / 0.9518 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.134e-05/0.4662, allocations: 1.406 kB / 0.9518 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.4664, allocations: 22.03 kB / 0.9519 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.4665, allocations: 60.09 kB / 0.9519 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.4668, allocations: 129.5 kB / 0.952 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000176/0.467, allocations: 226.9 kB / 0.9523 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.132e-05/0.4671, allocations: 25.59 kB / 0.9523 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.604e-05/0.4671, allocations: 74.61 kB / 0.9524 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.4673, allocations: 88.77 kB / 0.9524 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/0.4673, allocations: 10.12 kB / 0.9525 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.4674, allocations: 71.97 kB / 0.9525 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.986e-05/0.4675, allocations: 73.98 kB / 0.9526 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.453e-05/0.4676, allocations: 101.3 kB / 0.9527 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.4678, allocations: 279.7 kB / 0.953 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.4678, allocations: 1.375 kB / 0.953 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.11e-07/0.4678, allocations: 0 / 0.953 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.4678, allocations: 0 / 0.953 GB, free: 6.172 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.0005409/0.4684, allocations: 0.5386 MB / 0.9535 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.4684, allocations: 10.16 kB / 0.9535 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.927e-05/0.4685, allocations: 52.45 kB / 0.9535 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.914e-05/0.4686, allocations: 29.69 kB / 0.9536 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.4687, allocations: 270 kB / 0.9538 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.4688, allocations: 15.19 kB / 0.9538 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.4688, allocations: 13.97 kB / 0.9539 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.4691, allocations: 218.5 kB / 0.9541 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.4691, allocations: 3.938 kB / 0.9541 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.4691, allocations: 6.5 kB / 0.9541 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.4691, allocations: 3.625 kB / 0.9541 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006638/0.4698, allocations: 0.7378 MB / 0.9548 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006529/0.4705, allocations: 0.5728 MB / 0.9554 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.4708, allocations: 234.8 kB / 0.9556 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.4709, allocations: 97.66 kB / 0.9557 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.542e-05/0.4709, allocations: 20.88 kB / 0.9557 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.4712, allocations: 172.1 kB / 0.9559 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.4712, allocations: 0 / 0.9559 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.0005359/0.4717, allocations: 371.2 kB / 0.9562 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.4718, allocations: 132.2 kB / 0.9563 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.472, allocations: 318.8 kB / 0.9566 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.472, allocations: 32.45 kB / 0.9567 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.4721, allocations: 121 kB / 0.9568 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.276e-05/0.4721, allocations: 113.5 kB / 0.9569 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.05e-05/0.4722, allocations: 63.81 kB / 0.957 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.07e-05/0.4722, allocations: 335.1 kB / 0.9573 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.4724, allocations: 79.17 kB / 0.9574 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.4725, allocations: 123.1 kB / 0.9575 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.4728, allocations: 209.2 kB / 0.9577 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4728, allocations: 4 kB / 0.9577 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003703/0.4732, allocations: 272.4 kB / 0.9579 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.4732, allocations: 4.375 kB / 0.9579 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.4732, allocations: 5.031 kB / 0.9579 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.4732, allocations: 5.344 kB / 0.9579 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.4734, allocations: 61.94 kB / 0.958 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.4734, allocations: 9.297 kB / 0.958 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.4735, allocations: 28.02 kB / 0.958 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.4736, allocations: 12.72 kB / 0.9581 GB, free: 2.43 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.0001042/0.4737, allocations: 166 kB / 0.9582 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.4737, allocations: 23.78 kB / 0.9582 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005456/0.4743, allocations: 377.9 kB / 0.9586 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.4743, allocations: 3.094 kB / 0.9586 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.4743, allocations: 3.938 kB / 0.9586 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4743, allocations: 1.062 kB / 0.9586 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.4745, allocations: 332.2 kB / 0.9589 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4745, allocations: 4 kB / 0.9589 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.4747, allocations: 55.56 kB / 0.959 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4747, allocations: 1.188 kB / 0.959 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.4747, allocations: 9.109 kB / 0.959 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4747, allocations: 1.062 kB / 0.959 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4747, allocations: 7.922 kB / 0.959 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.4751, allocations: 319 kB / 0.9593 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.367e-05/0.4752, allocations: 141.8 kB / 0.9594 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.4752, allocations: 10.19 kB / 0.9594 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.4754, allocations: 15.3 kB / 0.9595 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.4754, allocations: 27.75 kB / 0.9595 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.4755, allocations: 17.11 kB / 0.9595 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001465/0.4756, allocations: 236.6 kB / 0.9597 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4756, allocations: 1.281 kB / 0.9597 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002538/0.4759, allocations: 60.84 kB / 0.9598 GB, free: 1.199 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.0012/0.4771, allocations: 1.155 MB / 0.9609 GB, free: 384 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000305/0.4774, allocations: 219.8 kB / 0.9611 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4774, allocations: 1.438 kB / 0.9611 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.4776, allocations: 127.5 kB / 0.9612 GB, free: 244 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.4778, allocations: 37.11 kB / 0.9613 GB, free: 216 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.002539/0.4804, allocations: 2.511 MB / 0.9637 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.4807, allocations: 0.7585 MB / 0.9645 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002875/0.481, allocations: 139.4 kB / 0.9646 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.4811, allocations: 96.77 kB / 0.9647 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.4811, allocations: 0 / 0.9647 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5543/1.035, allocations: 5.26 MB / 0.9698 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002693/1.036, allocations: 279.3 kB / 0.9701 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/2.671, allocations: 2.953 kB / 0.9701 GB, free: 10.55 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)