Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_10_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.001187/0.001187, 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.001094/0.001094, allocations: 189.2 kB / 16.25 MB, free: 6.59 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.169/1.169, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.243/2.243, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.91 kB / 0.8689 GB, free: 5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5101/0.5113, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002764/0.5141, allocations: 1.714 MB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.5156, allocations: 1.157 MB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.833e-05/0.5157, allocations: 3.938 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.5159, allocations: 31.84 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.5162, allocations: 51.77 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.5166, allocations: 139.5 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.5168, allocations: 245.5 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.977e-05/0.5169, allocations: 27.97 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.5171, allocations: 79.83 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.5173, allocations: 95.7 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.432e-05/0.5173, allocations: 20 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.5175, allocations: 79.91 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.658e-05/0.5176, allocations: 83.8 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.5177, allocations: 111.3 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.518, allocations: 284 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.518, allocations: 3.984 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.011e-06/0.518, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.518, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 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.0006833/0.5187, allocations: 0.5344 MB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.5187, allocations: 16.03 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.838e-05/0.5188, allocations: 50.73 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.934e-05/0.5189, allocations: 32.56 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.5191, allocations: 253 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.5192, allocations: 24.3 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.5192, allocations: 12.38 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.5195, allocations: 220.7 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.5195, allocations: 4 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.5196, allocations: 8 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.5196, allocations: 4 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007842/0.5204, allocations: 0.7295 MB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008164/0.5212, allocations: 0.5858 MB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.5215, allocations: 231.5 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.5217, allocations: 100.8 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.5217, allocations: 15.97 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003257/0.522, allocations: 177.4 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 1.783e-06/0.5221, allocations: 0 / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.0006082/0.5227, allocations: 370.8 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.5227, allocations: 132.5 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.523, allocations: 312.9 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.5231, allocations: 33.7 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.005e-05/0.5231, allocations: 120.7 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.507e-05/0.5232, allocations: 118.3 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.818e-05/0.5233, allocations: 61.62 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.5234, allocations: 338.8 kB / 1.025 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.5236, allocations: 79.95 kB / 1.025 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.5237, allocations: 124.5 kB / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.524, allocations: 209.2 kB / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.524, allocations: 0 / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003914/0.5244, allocations: 269.3 kB / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.5245, allocations: 4 kB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.5245, allocations: 0 / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.5245, allocations: 0 / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.5247, allocations: 71.83 kB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.5247, allocations: 7.938 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.5248, allocations: 23.84 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.5249, allocations: 15.98 kB / 1.026 GB, free: 9.109 MB / 0.7794 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.0001377/0.525, allocations: 157.8 kB / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.5251, allocations: 31.62 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000585/0.5257, allocations: 380.9 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5257, allocations: 8 kB / 1.027 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5257, allocations: 3.938 kB / 1.027 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5257, allocations: 3.984 kB / 1.027 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.526, allocations: 321.3 kB / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.526, allocations: 4 kB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.5261, allocations: 55.91 kB / 1.027 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5261, allocations: 4 kB / 1.027 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.5262, allocations: 11.98 kB / 1.027 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.5262, allocations: 0 / 1.027 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5262, allocations: 3.938 kB / 1.027 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.5266, allocations: 309.8 kB / 1.027 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.5267, allocations: 144.7 kB / 1.027 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.5268, allocations: 7.984 kB / 1.027 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.5269, allocations: 18.09 kB / 1.027 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.527, allocations: 27.91 kB / 1.027 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.527, allocations: 8 kB / 1.027 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001815/0.5272, allocations: 244.4 kB / 1.028 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5272, allocations: 4 kB / 1.028 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002664/0.5275, allocations: 63.91 kB / 1.028 GB, free: 7.238 MB / 0.7794 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.001386/0.5289, allocations: 1.157 MB / 1.029 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004619/0.5293, allocations: 287.7 kB / 1.029 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5294, allocations: 0 / 1.029 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.5295, allocations: 127.9 kB / 1.029 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.5298, allocations: 41.48 kB / 1.029 GB, free: 5.754 MB / 0.7794 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.002603/0.5324, allocations: 2.506 MB / 1.032 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.5327, allocations: 0.7535 MB / 1.032 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002991/0.533, allocations: 143 kB / 1.033 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.5332, allocations: 87.39 kB / 1.033 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of SimCode: time 3.9e-07/0.5332, allocations: 0 / 1.033 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.51/3.043, allocations: 5.387 MB / 1.038 GB, free: 12.95 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/3.043, allocations: 288.9 kB / 1.038 GB, free: 12.57 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/4.663, allocations: 3.5 kB / 1.038 GB, free: 12.57 MB / 0.795 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)