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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008491/0.0008493, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004586/0.004586, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.189/1.189, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.241/2.241, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002897/0.0002896, allocations: 12 kB / 0.8729 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5052/0.5055, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002017/0.5076, allocations: 1.367 MB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.5093, allocations: 1.136 MB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.252e-05/0.5094, allocations: 0 / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.5097, allocations: 23.84 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.5099, allocations: 59.81 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.5103, allocations: 138.8 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000274/0.5106, allocations: 221.5 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.5107, allocations: 23.97 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.5109, allocations: 71.81 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.5111, allocations: 83.72 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.5111, allocations: 16 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.5113, allocations: 71.91 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.064e-05/0.5114, allocations: 71.8 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.5115, allocations: 125 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.5118, allocations: 269.4 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.5118, allocations: 0 / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5118, allocations: 3.984 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.5118, allocations: 0 / 1.027 GB, free: 12.14 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.0006428/0.5124, allocations: 0.4955 MB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.5125, allocations: 8.031 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.751e-05/0.5125, allocations: 54.73 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.741e-05/0.5126, allocations: 24.66 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.5129, allocations: 272.8 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.5129, allocations: 8.375 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.5129, allocations: 20.31 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.5132, allocations: 220.7 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.5132, allocations: 0 / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.5133, allocations: 8 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.5133, allocations: 4 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007438/0.514, allocations: 0.7373 MB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007692/0.5148, allocations: 0.5835 MB / 1.029 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.5151, allocations: 223.5 kB / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.5153, allocations: 100.8 kB / 1.029 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.352e-05/0.5153, allocations: 23.97 kB / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002746/0.5156, allocations: 177.4 kB / 1.03 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.5156, allocations: 0 / 1.03 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.0005559/0.5162, allocations: 362.8 kB / 1.03 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.5162, allocations: 136.5 kB / 1.03 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.5165, allocations: 316.9 kB / 1.03 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.5165, allocations: 29.7 kB / 1.03 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.199e-05/0.5166, allocations: 128.7 kB / 1.031 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.454e-05/0.5167, allocations: 106.4 kB / 1.031 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.5167, allocations: 25.72 kB / 1.031 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.5169, allocations: 338.8 kB / 1.031 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.517, allocations: 83.89 kB / 1.031 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.5171, allocations: 124.5 kB / 1.031 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.5174, allocations: 209.2 kB / 1.031 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5174, allocations: 0 / 1.031 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003723/0.5178, allocations: 269.3 kB / 1.032 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.5178, allocations: 7.938 kB / 1.032 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.5178, allocations: 0 / 1.032 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.5179, allocations: 3.984 kB / 1.032 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.5181, allocations: 59.91 kB / 1.032 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.5181, allocations: 7.938 kB / 1.032 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.5182, allocations: 31.78 kB / 1.032 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.5182, allocations: 11.98 kB / 1.032 GB, free: 6.707 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.0001349/0.5184, allocations: 161.8 kB / 1.032 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.5184, allocations: 27.62 kB / 1.032 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005877/0.519, allocations: 385 kB / 1.032 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.519, allocations: 4 kB / 1.032 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.519, allocations: 3.938 kB / 1.032 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.5191, allocations: 3.984 kB / 1.032 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.5193, allocations: 329.2 kB / 1.033 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5193, allocations: 0 / 1.033 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.5195, allocations: 59.91 kB / 1.033 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.5195, allocations: 0 / 1.033 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.5195, allocations: 11.98 kB / 1.033 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5195, allocations: 4 kB / 1.033 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5195, allocations: 7.938 kB / 1.033 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.5199, allocations: 305.8 kB / 1.033 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.5201, allocations: 144.7 kB / 1.033 GB, free: 5.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.5201, allocations: 8 kB / 1.033 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.5203, allocations: 15.98 kB / 1.033 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.5203, allocations: 27.91 kB / 1.033 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.5204, allocations: 19.98 kB / 1.033 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001845/0.5205, allocations: 236.4 kB / 1.033 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.473e-06/0.5205, allocations: 0 / 1.033 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002666/0.5208, allocations: 63.84 kB / 1.033 GB, free: 4.832 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.001361/0.5222, allocations: 1.152 MB / 1.035 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003294/0.5225, allocations: 223.7 kB / 1.035 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5225, allocations: 0 / 1.035 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.5227, allocations: 123.8 kB / 1.035 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.523, allocations: 38.95 kB / 1.035 GB, free: 3.422 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.002549/0.5255, allocations: 2.512 MB / 1.037 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.5258, allocations: 0.7535 MB / 1.038 GB, free: 52 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002984/0.5261, allocations: 146.9 kB / 1.038 GB, free: 15.9 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.5262, allocations: 91.27 kB / 1.038 GB, free: 15.82 MB / 0.795 GB Notification: Performance of SimCode: time 3.11e-07/0.5262, allocations: 4 kB / 1.038 GB, free: 15.81 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.003/1.529, allocations: 5.028 MB / 1.043 GB, free: 10.99 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002674/1.529, allocations: 282.1 kB / 1.044 GB, free: 10.61 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/3.252, allocations: 4 kB / 1.044 GB, free: 10.6 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)