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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.001041/0.001041, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001131/0.001132, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.489/2.489, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.000344, allocations: 12 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8089/0.8092, allocations: 142.3 MB / 0.9536 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.001738/0.811, allocations: 1.334 MB / 0.9549 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.8124, allocations: 1.077 MB / 0.956 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.59e-05/0.8124, allocations: 5.125 kB / 0.956 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.8126, allocations: 26.66 kB / 0.956 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.8129, allocations: 55.8 kB / 0.956 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.8132, allocations: 128.5 kB / 0.9562 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.8134, allocations: 154.8 kB / 0.9563 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.838e-05/0.8135, allocations: 16.95 kB / 0.9563 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.307e-05/0.8136, allocations: 72.45 kB / 0.9564 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.8138, allocations: 68.05 kB / 0.9565 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.8138, allocations: 8.594 kB / 0.9565 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.8139, allocations: 52.33 kB / 0.9565 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.002e-05/0.814, allocations: 69.55 kB / 0.9566 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.805e-05/0.8141, allocations: 58.7 kB / 0.9566 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.8143, allocations: 208.3 kB / 0.9568 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.8143, allocations: 0 / 0.9568 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.566e-06/0.8143, allocations: 1.281 kB / 0.9568 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.8143, allocations: 3.938 kB / 0.9568 GB, free: 5.664 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.0005936/0.8149, allocations: 0.4905 MB / 0.9573 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.815, allocations: 9.656 kB / 0.9573 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.143e-05/0.815, allocations: 46.05 kB / 0.9574 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.8151, allocations: 33.36 kB / 0.9574 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.8153, allocations: 265.1 kB / 0.9577 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.8154, allocations: 13.56 kB / 0.9577 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.8154, allocations: 15.28 kB / 0.9577 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.8157, allocations: 214.5 kB / 0.9579 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.8157, allocations: 1.781 kB / 0.9579 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.8158, allocations: 5.719 kB / 0.9579 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.8158, allocations: 3.781 kB / 0.9579 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008251/0.8166, allocations: 0.7399 MB / 0.9586 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008148/0.8174, allocations: 0.5731 MB / 0.9592 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.8178, allocations: 228.4 kB / 0.9594 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.313e-05/0.8178, allocations: 25.53 kB / 0.9594 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002892/0.8181, allocations: 170 kB / 0.9596 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 1.693e-06/0.8181, allocations: 0 / 0.9596 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.0005942/0.8187, allocations: 370.1 kB / 0.9599 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.8188, allocations: 133.2 kB / 0.9601 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.8191, allocations: 309.6 kB / 0.9604 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.8191, allocations: 32.27 kB / 0.9604 GB, free: 3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.8191, allocations: 124.6 kB / 0.9605 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.061e-05/0.8192, allocations: 109.8 kB / 0.9606 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.8192, allocations: 9.156 kB / 0.9606 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.137e-05/0.8193, allocations: 338.1 kB / 0.9609 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.8194, allocations: 74.17 kB / 0.961 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.8196, allocations: 120.4 kB / 0.9611 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.8198, allocations: 102.4 kB / 0.9612 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8198, allocations: 0 / 0.9612 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003933/0.8202, allocations: 281.8 kB / 0.9615 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.8202, allocations: 6.875 kB / 0.9615 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.8202, allocations: 0 / 0.9615 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.8202, allocations: 1.594 kB / 0.9615 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.8204, allocations: 62.56 kB / 0.9616 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.8205, allocations: 1 kB / 0.9616 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.8206, allocations: 30.98 kB / 0.9616 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.8206, allocations: 12.3 kB / 0.9616 GB, free: 2.102 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.8208, allocations: 165.2 kB / 0.9618 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.8208, allocations: 32.45 kB / 0.9618 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006159/0.8214, allocations: 374.9 kB / 0.9622 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.8215, allocations: 3.906 kB / 0.9622 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.8215, allocations: 0 / 0.9622 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.8215, allocations: 0 / 0.9622 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.8217, allocations: 328.1 kB / 0.9625 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.8217, allocations: 1.062 kB / 0.9625 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.8219, allocations: 63.34 kB / 0.9625 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.8219, allocations: 1 kB / 0.9625 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.822, allocations: 12.42 kB / 0.9625 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.822, allocations: 6.328 kB / 0.9625 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.822, allocations: 0 / 0.9625 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000413/0.8224, allocations: 315.9 kB / 0.9629 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.8225, allocations: 150.3 kB / 0.963 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.8226, allocations: 6.312 kB / 0.963 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.8227, allocations: 25.88 kB / 0.963 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.8228, allocations: 24.22 kB / 0.963 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.8228, allocations: 20.95 kB / 0.9631 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001561/0.823, allocations: 228.6 kB / 0.9633 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.823, allocations: 0 / 0.9633 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002947/0.8233, allocations: 64.48 kB / 0.9633 GB, free: 0.8633 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001394/0.8247, allocations: 1.144 MB / 0.9645 GB, free: 44 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004116/0.8251, allocations: 219.5 kB / 0.9647 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8251, allocations: 0 / 0.9647 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.8253, allocations: 127.8 kB / 0.9648 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.8256, allocations: 28.58 kB / 0.9648 GB, free: 15.88 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.002375/0.828, allocations: 1.454 MB / 0.9662 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.8283, allocations: 0.7601 MB / 0.967 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003392/0.8287, allocations: 150.9 kB / 0.9671 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.8288, allocations: 92.8 kB / 0.9672 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.8288, allocations: 0 / 0.9672 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5601/1.389, allocations: 5.402 MB / 0.9725 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/1.389, allocations: 258.1 kB / 0.9727 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/3.238, allocations: 1.625 kB / 0.9727 GB, free: 11.22 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat does not exist to compare? outputFormat=mat