Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.268/2.268, allocations: 390.3 MB / 405.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 189.4 kB / 498.1 MB, free: 5.762 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 223.2 MB / 0.7948 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008875/0.0008875, allocations: 102.8 kB / 0.9346 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003327, allocations: 10.44 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2438, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.037/4.281, allocations: 1.87 GB / 3.093 GB, free: 67.43 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/4.281, allocations: 98.08 kB / 3.093 GB, free: 67.38 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.273/5.554, allocations: 346.7 MB / 3.432 GB, free: 181.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.544e-06/5.554, allocations: 0 / 3.432 GB, free: 181.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.931e-05/5.554, allocations: 12 kB / 3.432 GB, free: 181.5 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001205/5.555, allocations: 0.7206 MB / 3.432 GB, free: 180.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/5.555, allocations: 8.031 kB / 3.432 GB, free: 180.8 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.507e-05/5.555, allocations: 58.5 kB / 3.433 GB, free: 180.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000369/5.556, allocations: 63.58 kB / 3.433 GB, free: 180.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/5.556, allocations: 318.6 kB / 3.433 GB, free: 180.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/5.556, allocations: 16.44 kB / 3.433 GB, free: 180.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/5.556, allocations: 24 kB / 3.433 GB, free: 180.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003914/5.557, allocations: 300.6 kB / 3.433 GB, free: 179.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/5.557, allocations: 4 kB / 3.433 GB, free: 179.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/5.557, allocations: 15.89 kB / 3.433 GB, free: 179.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/5.557, allocations: 8 kB / 3.433 GB, free: 179.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/5.557, allocations: 171.8 kB / 3.433 GB, free: 179.7 MB / 1.151 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/5.558, allocations: 1.721 MB / 3.435 GB, free: 177.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/5.559, allocations: 98.48 kB / 3.435 GB, free: 177.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/5.559, allocations: 186.2 kB / 3.435 GB, free: 177.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/5.559, allocations: 30.56 kB / 3.435 GB, free: 177.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/5.559, allocations: 0 / 3.435 GB, free: 177.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.0006029/5.559, allocations: 233.3 kB / 3.436 GB, free: 177.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/5.56, allocations: 55.36 kB / 3.436 GB, free: 177.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/5.56, allocations: 287.6 kB / 3.436 GB, free: 176.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/5.56, allocations: 29.7 kB / 3.436 GB, free: 176.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/5.56, allocations: 195.8 kB / 3.436 GB, free: 176.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/5.56, allocations: 35.45 kB / 3.436 GB, free: 176.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-06/5.56, allocations: 8.156 kB / 3.436 GB, free: 176.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.245e-05/5.56, allocations: 338.8 kB / 3.437 GB, free: 176.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/5.56, allocations: 63.89 kB / 3.437 GB, free: 176.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/5.56, allocations: 212.9 kB / 3.437 GB, free: 176 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/5.561, allocations: 79.91 kB / 3.437 GB, free: 175.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/5.561, allocations: 4 kB / 3.437 GB, free: 175.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003803/5.561, allocations: 273.2 kB / 3.437 GB, free: 175.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002352/5.561, allocations: 1.395 MB / 3.438 GB, free: 174.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/5.561, allocations: 7.938 kB / 3.438 GB, free: 174.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/5.561, allocations: 4 kB / 3.438 GB, free: 174.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/5.561, allocations: 55.91 kB / 3.439 GB, free: 174 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/5.561, allocations: 7.938 kB / 3.439 GB, free: 174 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/5.562, allocations: 43.77 kB / 3.439 GB, free: 174 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/5.562, allocations: 15.98 kB / 3.439 GB, free: 174 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/5.562, allocations: 5.406 kB / 3.439 GB, free: 174 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000318/5.562, allocations: 195.6 kB / 3.439 GB, free: 173.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/5.562, allocations: 7.953 kB / 3.439 GB, free: 173.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/5.562, allocations: 8 kB / 3.439 GB, free: 173.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/5.562, allocations: 52.31 kB / 3.439 GB, free: 173.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/5.562, allocations: 15.92 kB / 3.439 GB, free: 173.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/5.562, allocations: 39.73 kB / 3.439 GB, free: 173.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/5.562, allocations: 15.98 kB / 3.439 GB, free: 173.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001388/5.563, allocations: 233 kB / 3.439 GB, free: 173.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/5.563, allocations: 27.62 kB / 3.439 GB, free: 173.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003447/5.563, allocations: 184.3 kB / 3.439 GB, free: 173.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/5.563, allocations: 0 / 3.439 GB, free: 173.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/5.563, allocations: 0 / 3.439 GB, free: 173.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/5.563, allocations: 0 / 3.439 GB, free: 173.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007458/5.564, allocations: 0.621 MB / 3.44 GB, free: 172.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/5.564, allocations: 4 kB / 3.44 GB, free: 172.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/5.564, allocations: 27.98 kB / 3.44 GB, free: 172.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/5.564, allocations: 4 kB / 3.44 GB, free: 172.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/5.564, allocations: 4 kB / 3.44 GB, free: 172.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/5.564, allocations: 0 / 3.44 GB, free: 172.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/5.564, allocations: 7.938 kB / 3.44 GB, free: 172.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/5.564, allocations: 401.9 kB / 3.44 GB, free: 172 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.933e-05/5.564, allocations: 112.8 kB / 3.441 GB, free: 171.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/5.564, allocations: 8 kB / 3.441 GB, free: 171.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/5.565, allocations: 27.88 kB / 3.441 GB, free: 171.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/5.565, allocations: 15.88 kB / 3.441 GB, free: 171.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/5.565, allocations: 15.98 kB / 3.441 GB, free: 171.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001628/5.565, allocations: 223.1 kB / 3.441 GB, free: 171.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.565, allocations: 0 / 3.441 GB, free: 171.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008964/5.566, allocations: 255.8 kB / 3.441 GB, free: 171.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001903/5.568, allocations: 2.55 MB / 3.444 GB, free: 168.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005019/5.568, allocations: 260.7 kB / 3.444 GB, free: 168.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/5.568, allocations: 0 / 3.444 GB, free: 168.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/5.568, allocations: 65.28 kB / 3.444 GB, free: 168.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000668/5.569, allocations: 139.6 kB / 3.444 GB, free: 168.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/5.571, allocations: 3.895 MB / 3.448 GB, free: 164.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/5.571, allocations: 0.7797 MB / 3.449 GB, free: 163.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003101/5.572, allocations: 78.91 kB / 3.449 GB, free: 163.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/5.572, allocations: 91.41 kB / 3.449 GB, free: 163.2 MB / 1.151 GB Notification: Performance of SimCode: time 6.41e-07/5.572, allocations: 7.875 kB / 3.449 GB, free: 163.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03814/5.61, allocations: 27.06 MB / 3.475 GB, free: 136.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/5.61, allocations: 204 kB / 3.475 GB, free: 136 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.793/8.404, allocations: 0 / 3.475 GB, free: 136 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_res.mat does not exist to compare? outputFormat=mat