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.001099/0.001103, allocations: 108 kB / 15.61 MB, free: 148 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.001135/0.001135, allocations: 196.5 kB / 16.53 MB, free: 6.656 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.211/1.211, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.288/2.288, allocations: 437 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 59.89 kB / 0.8693 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5297/0.5308, allocations: 151.6 MB / 1.017 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002737/0.5336, allocations: 1.666 MB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.5351, allocations: 1.167 MB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.234e-05/0.5352, allocations: 0 / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.5354, allocations: 35.78 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.5357, allocations: 59.64 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.536, allocations: 143.3 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.5363, allocations: 245.5 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.959e-05/0.5364, allocations: 31.95 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.693e-05/0.5365, allocations: 83.77 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.5367, allocations: 96.91 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.601e-05/0.5367, allocations: 20 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.5369, allocations: 79.97 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.567e-05/0.537, allocations: 79.81 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.5371, allocations: 111.3 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.5374, allocations: 285.4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5374, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.976e-06/0.5374, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.5374, allocations: 7.938 kB / 1.021 GB, free: 14.34 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.0006932/0.5381, allocations: 0.5344 MB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.5382, allocations: 8.031 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.737e-05/0.5382, allocations: 54.73 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.946e-05/0.5383, allocations: 28.56 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.5386, allocations: 264.9 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.5386, allocations: 12.38 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.5386, allocations: 16.38 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.5389, allocations: 220.6 kB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.5389, allocations: 0 / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.539, allocations: 12 kB / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.539, allocations: 4 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007348/0.5397, allocations: 0.7334 MB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007628/0.5405, allocations: 0.5781 MB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.5408, allocations: 227.3 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.541, allocations: 100.8 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/0.541, allocations: 23.95 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002858/0.5413, allocations: 169.5 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 1.733e-06/0.5413, allocations: 8 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.0005887/0.5419, allocations: 370.7 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.542, allocations: 132.5 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.5422, allocations: 312.9 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.5423, allocations: 33.7 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.704e-05/0.5424, allocations: 124.7 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.477e-05/0.5424, allocations: 106.5 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.837e-05/0.5425, allocations: 61.69 kB / 1.025 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.389e-05/0.5426, allocations: 342.8 kB / 1.026 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.5428, allocations: 79.95 kB / 1.026 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.5429, allocations: 120.5 kB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.5432, allocations: 201.2 kB / 1.026 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5432, allocations: 4 kB / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000389/0.5436, allocations: 273.2 kB / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.5436, allocations: 8 kB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.5436, allocations: 4 kB / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.5437, allocations: 0 / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.5439, allocations: 67.84 kB / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5439, allocations: 3.938 kB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.544, allocations: 27.77 kB / 1.026 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.544, allocations: 8 kB / 1.026 GB, free: 8.84 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.0001278/0.5442, allocations: 161.8 kB / 1.027 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.5442, allocations: 31.61 kB / 1.027 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005887/0.5448, allocations: 381 kB / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5448, allocations: 4 kB / 1.027 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.5448, allocations: 3.938 kB / 1.027 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5449, allocations: 3.984 kB / 1.027 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.5451, allocations: 325.3 kB / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.5451, allocations: 3.984 kB / 1.027 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.5453, allocations: 55.92 kB / 1.027 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5453, allocations: 0 / 1.027 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.5453, allocations: 19.98 kB / 1.027 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.5453, allocations: 0 / 1.027 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5453, allocations: 3.938 kB / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.5458, allocations: 313.8 kB / 1.028 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.5459, allocations: 140.7 kB / 1.028 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.5459, allocations: 8 kB / 1.028 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.5461, allocations: 19.92 kB / 1.028 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.5461, allocations: 31.91 kB / 1.028 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-05/0.5462, allocations: 11.98 kB / 1.028 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001767/0.5463, allocations: 232.5 kB / 1.028 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5463, allocations: 0 / 1.028 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002668/0.5466, allocations: 71.89 kB / 1.028 GB, free: 6.957 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.001345/0.548, allocations: 1.154 MB / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004415/0.5484, allocations: 291.7 kB / 1.03 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5484, allocations: 4 kB / 1.03 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.5486, allocations: 123.8 kB / 1.03 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.5488, allocations: 37.16 kB / 1.03 GB, free: 5.473 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.002384/0.5512, allocations: 2.439 MB / 1.032 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.5515, allocations: 0.754 MB / 1.033 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002885/0.5518, allocations: 146.8 kB / 1.033 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.5519, allocations: 87.41 kB / 1.033 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.5519, allocations: 0 / 1.033 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.936/3.487, allocations: 5.47 MB / 1.038 GB, free: 12.63 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/16.54, allocations: 12.34 kB / 1.038 GB, free: 12.62 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)