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.001155/0.001155, allocations: 108 kB / 15.6 MB, free: 132 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.001087/0.001087, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.156/1.156, allocations: 222.9 MB / 240.2 MB, free: 4.414 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 1.999/1.999, allocations: 390.2 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 63.91 kB / 0.8126 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4682/0.4694, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002208/0.4716, allocations: 1.65 MB / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.4727, allocations: 1.171 MB / 0.9525 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.76e-05/0.4728, allocations: 5.438 kB / 0.9525 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.473, allocations: 23.67 kB / 0.9525 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.4732, allocations: 73.47 kB / 0.9526 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.4735, allocations: 141.6 kB / 0.9527 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000187/0.4737, allocations: 244.2 kB / 0.9529 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.065e-05/0.4737, allocations: 26.22 kB / 0.953 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.08e-05/0.4738, allocations: 87.52 kB / 0.953 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.474, allocations: 89.27 kB / 0.9531 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.474, allocations: 17.59 kB / 0.9532 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.4741, allocations: 85.02 kB / 0.9532 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.163e-05/0.4742, allocations: 82.97 kB / 0.9533 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.518e-05/0.4743, allocations: 105.7 kB / 0.9534 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.4745, allocations: 285.6 kB / 0.9537 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.4746, allocations: 1.156 kB / 0.9537 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4746, allocations: 7.984 kB / 0.9537 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.4746, allocations: 0 / 0.9537 GB, free: 6.18 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.000541/0.4751, allocations: 0.5392 MB / 0.9542 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.4751, allocations: 9.219 kB / 0.9542 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.663e-05/0.4752, allocations: 48.95 kB / 0.9543 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.4753, allocations: 29.88 kB / 0.9543 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.4754, allocations: 265.8 kB / 0.9546 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.4755, allocations: 15.17 kB / 0.9546 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.4755, allocations: 14.47 kB / 0.9546 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.4758, allocations: 226.2 kB / 0.9548 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.4758, allocations: 0 / 0.9548 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.4758, allocations: 6.375 kB / 0.9548 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.4758, allocations: 7.562 kB / 0.9548 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006398/0.4765, allocations: 0.7377 MB / 0.9555 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006303/0.4771, allocations: 0.5769 MB / 0.9561 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.4774, allocations: 226.7 kB / 0.9563 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.4775, allocations: 102.6 kB / 0.9564 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/0.4776, allocations: 15.56 kB / 0.9564 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.4778, allocations: 173.8 kB / 0.9566 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.4778, allocations: 0 / 0.9566 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.0005207/0.4783, allocations: 374.4 kB / 0.9569 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.4784, allocations: 132.6 kB / 0.9571 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.4786, allocations: 310.7 kB / 0.9574 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.4786, allocations: 31.95 kB / 0.9574 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.4787, allocations: 120.9 kB / 0.9575 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.362e-05/0.4787, allocations: 113.1 kB / 0.9576 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.924e-05/0.4788, allocations: 68.94 kB / 0.9577 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.188e-05/0.4788, allocations: 337.8 kB / 0.958 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.479, allocations: 75.98 kB / 0.9581 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.4791, allocations: 126.7 kB / 0.9582 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.4794, allocations: 212.2 kB / 0.9584 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4794, allocations: 1.125 kB / 0.9584 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003533/0.4798, allocations: 272.2 kB / 0.9587 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.4798, allocations: 9.625 kB / 0.9587 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.4798, allocations: 0 / 0.9587 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.4798, allocations: 2.062 kB / 0.9587 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.48, allocations: 61.45 kB / 0.9587 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.48, allocations: 6.188 kB / 0.9587 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.4801, allocations: 25.53 kB / 0.9588 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.4802, allocations: 16.7 kB / 0.9588 GB, free: 2.445 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.0001015/0.4803, allocations: 165.2 kB / 0.9589 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.4803, allocations: 23.97 kB / 0.959 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005389/0.4809, allocations: 381.6 kB / 0.9593 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.4809, allocations: 3.312 kB / 0.9593 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4809, allocations: 3.938 kB / 0.9593 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.4809, allocations: 8.984 kB / 0.9593 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.4811, allocations: 324.4 kB / 0.9597 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4811, allocations: 48 / 0.9597 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.4812, allocations: 60.05 kB / 0.9597 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.4813, allocations: 5.531 kB / 0.9597 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.4813, allocations: 11.83 kB / 0.9597 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.4813, allocations: 5.078 kB / 0.9597 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.4813, allocations: 9 kB / 0.9597 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.4816, allocations: 313.7 kB / 0.96 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.992e-05/0.4817, allocations: 138.5 kB / 0.9602 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.4818, allocations: 14.3 kB / 0.9602 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.4819, allocations: 23.55 kB / 0.9602 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.482, allocations: 23.12 kB / 0.9602 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.482, allocations: 13.12 kB / 0.9602 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001424/0.4822, allocations: 236.7 kB / 0.9605 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4822, allocations: 1.062 kB / 0.9605 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002486/0.4824, allocations: 56.88 kB / 0.9605 GB, free: 1.207 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.001138/0.4836, allocations: 1.154 MB / 0.9617 GB, free: 388 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004165/0.484, allocations: 296.3 kB / 0.9619 GB, free: 284 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.484, allocations: 1.031 kB / 0.9619 GB, free: 284 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.4842, allocations: 132.3 kB / 0.9621 GB, free: 228 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.4844, allocations: 37.75 kB / 0.9621 GB, free: 200 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.002337/0.4867, allocations: 2.432 MB / 0.9645 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.487, allocations: 0.7587 MB / 0.9652 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002819/0.4873, allocations: 144.6 kB / 0.9654 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.4874, allocations: 88.33 kB / 0.9654 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.4874, allocations: 0 / 0.9654 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4323/0.9197, allocations: 5.463 MB / 0.9708 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.872/9.792, allocations: 12.58 kB / 0.9708 GB, free: 10.83 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)