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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009073/0.0009073, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.00092/0.00092, allocations: 171.8 kB / 16.26 MB, free: 6.664 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.219/1.219, allocations: 223.3 MB / 240.3 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.107/2.107, allocations: 390.9 MB / 0.6664 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002914, allocations: 8.234 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5096/0.5099, allocations: 142.4 MB / 0.9552 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.001431/0.5113, allocations: 1.378 MB / 0.9565 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.5125, allocations: 1.118 MB / 0.9576 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.866e-05/0.5125, allocations: 1.031 kB / 0.9576 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.5127, allocations: 30.97 kB / 0.9576 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.5129, allocations: 58.97 kB / 0.9577 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.5132, allocations: 136.3 kB / 0.9578 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.5134, allocations: 223.8 kB / 0.958 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.96e-05/0.5134, allocations: 16.92 kB / 0.9581 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.879e-05/0.5135, allocations: 79.31 kB / 0.9581 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.5137, allocations: 82.92 kB / 0.9582 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.5137, allocations: 12.16 kB / 0.9582 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.5138, allocations: 62.98 kB / 0.9583 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.938e-05/0.5139, allocations: 82.61 kB / 0.9584 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.502e-05/0.514, allocations: 126.4 kB / 0.9585 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.5142, allocations: 280.8 kB / 0.9587 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.5142, allocations: 0 / 0.9587 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5142, allocations: 0 / 0.9587 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.5142, allocations: 0 / 0.9587 GB, free: 4.871 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.0004936/0.5147, allocations: 494.7 kB / 0.9592 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.5148, allocations: 9 kB / 0.9592 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.213e-05/0.5148, allocations: 53.73 kB / 0.9593 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.5149, allocations: 30.09 kB / 0.9593 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.5151, allocations: 269.4 kB / 0.9596 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.5151, allocations: 14.41 kB / 0.9596 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.5151, allocations: 15.5 kB / 0.9596 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.5154, allocations: 225.6 kB / 0.9598 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.5154, allocations: 0 / 0.9598 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.5154, allocations: 10.75 kB / 0.9598 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.5155, allocations: 4.125 kB / 0.9598 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006626/0.5161, allocations: 0.7369 MB / 0.9605 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006632/0.5168, allocations: 0.5773 MB / 0.9611 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.5171, allocations: 230.9 kB / 0.9613 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.5172, allocations: 100.4 kB / 0.9614 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/0.5173, allocations: 17.12 kB / 0.9614 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002489/0.5175, allocations: 173.2 kB / 0.9616 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 1.332e-06/0.5175, allocations: 0 / 0.9616 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.0005306/0.5181, allocations: 366 kB / 0.962 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.5181, allocations: 136.5 kB / 0.9621 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.5183, allocations: 311.6 kB / 0.9624 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.5184, allocations: 35.67 kB / 0.9624 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.5184, allocations: 121.5 kB / 0.9625 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.753e-05/0.5185, allocations: 113.1 kB / 0.9626 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.5185, allocations: 26.5 kB / 0.9627 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.275e-05/0.5186, allocations: 338.3 kB / 0.963 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.5187, allocations: 75.17 kB / 0.9631 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.5188, allocations: 139.1 kB / 0.9632 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.5191, allocations: 200.8 kB / 0.9634 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5191, allocations: 0 / 0.9634 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003367/0.5194, allocations: 276 kB / 0.9636 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.5195, allocations: 6.469 kB / 0.9636 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.5195, allocations: 1.125 kB / 0.9637 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.5195, allocations: 1.031 kB / 0.9637 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.5197, allocations: 59.38 kB / 0.9637 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.5197, allocations: 7.938 kB / 0.9637 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.5198, allocations: 34.2 kB / 0.9637 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.5198, allocations: 14.06 kB / 0.9638 GB, free: 1.18 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.000104/0.5199, allocations: 163.5 kB / 0.9639 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.52, allocations: 21.19 kB / 0.9639 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005291/0.5205, allocations: 381.8 kB / 0.9643 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.5205, allocations: 2.719 kB / 0.9643 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5205, allocations: 4.969 kB / 0.9643 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5205, allocations: 7.969 kB / 0.9643 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.5208, allocations: 331.8 kB / 0.9646 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.5208, allocations: 0.8438 kB / 0.9646 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.5209, allocations: 55.44 kB / 0.9647 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.5209, allocations: 1.219 kB / 0.9647 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.5209, allocations: 12.73 kB / 0.9647 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.521, allocations: 1.344 kB / 0.9647 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.521, allocations: 7.938 kB / 0.9647 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.5213, allocations: 317 kB / 0.965 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.691e-05/0.5214, allocations: 148.2 kB / 0.9652 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.5214, allocations: 7 kB / 0.9652 GB, free: 140 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.5216, allocations: 17.42 kB / 0.9652 GB, free: 132 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.5217, allocations: 28.19 kB / 0.9652 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.5217, allocations: 16.39 kB / 0.9652 GB, free: 108 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001844/0.5219, allocations: 236.8 kB / 0.9654 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5219, allocations: 1.281 kB / 0.9654 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002628/0.5222, allocations: 64.09 kB / 0.9655 GB, free: 15.94 MB / 0.7325 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.001351/0.5235, allocations: 1.143 MB / 0.9666 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003496/0.5239, allocations: 233.8 kB / 0.9668 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5239, allocations: 0 / 0.9668 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.5241, allocations: 119.9 kB / 0.967 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.5243, allocations: 37.72 kB / 0.967 GB, free: 14.96 MB / 0.7325 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.002662/0.527, allocations: 2.517 MB / 0.9695 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.5273, allocations: 0.7579 MB / 0.9702 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002933/0.5276, allocations: 147.8 kB / 0.9703 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.5277, allocations: 88.77 kB / 0.9704 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of SimCode: time 1.523e-06/0.5277, allocations: 0 / 0.9704 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4046/0.9324, allocations: 5.03 MB / 0.9753 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002472/0.9326, allocations: 278.1 kB / 0.9756 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.124/4.056, allocations: 4 kB / 0.9756 GB, free: 9.523 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)