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.001069/0.001073, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001078/0.001078, allocations: 194.9 kB / 16.14 MB, free: 6.645 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.195/1.195, allocations: 222.9 MB / 239.8 MB, free: 4.562 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.269/2.269, allocations: 437 MB / 0.7099 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 67.89 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4879/0.4891, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002718/0.4918, allocations: 1.721 MB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.4933, allocations: 1.155 MB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.288e-05/0.4934, allocations: 0 / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.4936, allocations: 19.91 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.4938, allocations: 59.77 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.4941, allocations: 135.6 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.4944, allocations: 229.4 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.873e-05/0.4944, allocations: 19.97 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.956e-05/0.4945, allocations: 83.77 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.4947, allocations: 87.7 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.4948, allocations: 8 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.4949, allocations: 71.97 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.044e-05/0.495, allocations: 71.8 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.523e-05/0.4951, allocations: 103.3 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.4954, allocations: 273.4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4954, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.41e-07/0.4954, allocations: 3.938 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.4954, allocations: 0 / 1.021 GB, free: 14.76 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.0007192/0.4961, allocations: 0.5385 MB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.4962, allocations: 12.03 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.001e-05/0.4962, allocations: 50.73 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.01e-05/0.4963, allocations: 32.56 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.4966, allocations: 264.8 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.4966, allocations: 20.31 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.4966, allocations: 12.38 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.497, allocations: 228.6 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.497, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.497, allocations: 4 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.497, allocations: 4 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007779/0.4978, allocations: 0.7334 MB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007945/0.4986, allocations: 0.5781 MB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.4989, allocations: 231.4 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.4991, allocations: 100.8 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.932e-05/0.4991, allocations: 15.97 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002934/0.4994, allocations: 181.5 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 1.753e-06/0.4994, allocations: 0 / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.0006015/0.5, allocations: 370.8 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.5001, allocations: 132.5 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.5004, allocations: 312.9 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.5004, allocations: 33.7 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.5005, allocations: 120.7 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.797e-05/0.5006, allocations: 110.5 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-05/0.5007, allocations: 61.69 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.5008, allocations: 334.8 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.5009, allocations: 83.95 kB / 1.025 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.5011, allocations: 120.5 kB / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.5014, allocations: 209.2 kB / 1.025 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5014, allocations: 3.938 kB / 1.025 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000398/0.5018, allocations: 269.3 kB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.5018, allocations: 4 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.5018, allocations: 0 / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.5019, allocations: 8 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.5021, allocations: 63.84 kB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.5021, allocations: 3.938 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.5022, allocations: 37.73 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.5023, allocations: 8 kB / 1.026 GB, free: 9.25 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.0001365/0.5024, allocations: 165.7 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.5025, allocations: 27.62 kB / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006277/0.5031, allocations: 381 kB / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.5031, allocations: 4 kB / 1.026 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5031, allocations: 3.938 kB / 1.026 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5031, allocations: 0 / 1.026 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.5034, allocations: 329.3 kB / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5034, allocations: 3.938 kB / 1.027 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.5036, allocations: 59.91 kB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5036, allocations: 0 / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.5036, allocations: 8 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5036, allocations: 4 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5036, allocations: 7.938 kB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004557/0.5041, allocations: 309.7 kB / 1.027 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.5042, allocations: 144.7 kB / 1.027 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.5042, allocations: 4 kB / 1.027 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.5044, allocations: 15.98 kB / 1.027 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.5045, allocations: 27.91 kB / 1.027 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.5045, allocations: 19.98 kB / 1.027 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001756/0.5047, allocations: 236.4 kB / 1.027 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5047, allocations: 0 / 1.027 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002655/0.505, allocations: 59.91 kB / 1.027 GB, free: 7.379 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.00141/0.5064, allocations: 1.166 MB / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003491/0.5067, allocations: 219.8 kB / 1.029 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5068, allocations: 0 / 1.029 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.5069, allocations: 123.8 kB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.5072, allocations: 37.53 kB / 1.029 GB, free: 5.957 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.002664/0.5099, allocations: 2.51 MB / 1.031 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.5102, allocations: 0.7535 MB / 1.032 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003066/0.5105, allocations: 138.9 kB / 1.032 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.5106, allocations: 87.39 kB / 1.032 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5106, allocations: 0 / 1.032 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7956/1.306, allocations: 5.265 MB / 1.038 GB, free: 13.29 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/1.307, allocations: 280.3 kB / 1.038 GB, free: 12.9 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.958, allocations: 3.938 kB / 1.038 GB, free: 12.9 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)