Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.656/1.656, allocations: 289.9 MB / 297.4 MB, free: 6.391 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 168.8 kB / 366.7 MB, free: 1.637 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 205.2 MB / 0.626 GB, free: 7.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008617/0.0008616, allocations: 89.05 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.452e-05/2.456e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6523/0.6523, allocations: 116.3 MB / 0.9733 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.469/5.122, allocations: 2.065 GB / 3.038 GB, free: 65.02 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/5.122, allocations: 91.89 kB / 3.038 GB, free: 64.93 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.192/6.314, allocations: 339.1 MB / 3.369 GB, free: 106.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.233e-06/6.314, allocations: 0 / 3.369 GB, free: 106.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.928e-05/6.314, allocations: 12 kB / 3.369 GB, free: 106.6 MB / 0.948 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.001098/6.315, allocations: 0.6694 MB / 3.37 GB, free: 105.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/6.315, allocations: 12.03 kB / 3.37 GB, free: 105.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003619/6.316, allocations: 67.97 kB / 3.37 GB, free: 105.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/6.316, allocations: 314.8 kB / 3.37 GB, free: 105.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/6.316, allocations: 8 kB / 3.37 GB, free: 105.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/6.316, allocations: 16 kB / 3.37 GB, free: 105.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001963/6.317, allocations: 112.8 kB / 3.37 GB, free: 105.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/6.317, allocations: 247.8 kB / 3.371 GB, free: 105.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/6.317, allocations: 3.938 kB / 3.371 GB, free: 105.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/6.317, allocations: 0 / 3.371 GB, free: 105.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/6.317, allocations: 8 kB / 3.371 GB, free: 105 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.001174/6.318, allocations: 1.659 MB / 3.372 GB, free: 103.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/6.318, allocations: 66.59 kB / 3.372 GB, free: 103.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.71e-05/6.318, allocations: 60.88 kB / 3.372 GB, free: 103.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002257/6.319, allocations: 194.2 kB / 3.373 GB, free: 102.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/6.319, allocations: 42.66 kB / 3.373 GB, free: 102.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.893e-06/6.319, allocations: 0 / 3.373 GB, free: 102.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0004286/6.319, allocations: 145.3 kB / 3.373 GB, free: 102.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/6.319, allocations: 55.41 kB / 3.373 GB, free: 102.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/6.319, allocations: 226.2 kB / 3.373 GB, free: 102.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/6.319, allocations: 25.7 kB / 3.373 GB, free: 102.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.167e-05/6.319, allocations: 207.8 kB / 3.373 GB, free: 102.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/6.319, allocations: 31.55 kB / 3.373 GB, free: 102.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/6.319, allocations: 0 / 3.373 GB, free: 102.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.389e-05/6.319, allocations: 342.8 kB / 3.374 GB, free: 101.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.526e-05/6.319, allocations: 35.98 kB / 3.374 GB, free: 101.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/6.32, allocations: 180.8 kB / 3.374 GB, free: 101.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.502e-05/6.32, allocations: 71.91 kB / 3.374 GB, free: 101.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/6.32, allocations: 4 kB / 3.374 GB, free: 101.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002438/6.32, allocations: 189.5 kB / 3.374 GB, free: 101.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002813/6.32, allocations: 1.403 MB / 3.375 GB, free: 99.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/6.32, allocations: 4 kB / 3.375 GB, free: 99.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/6.32, allocations: 4 kB / 3.375 GB, free: 99.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/6.32, allocations: 55.91 kB / 3.375 GB, free: 99.69 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/6.32, allocations: 7.938 kB / 3.376 GB, free: 99.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/6.321, allocations: 43.66 kB / 3.376 GB, free: 99.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/6.321, allocations: 12 kB / 3.376 GB, free: 99.62 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.961e-06/6.321, allocations: 4 kB / 3.376 GB, free: 99.62 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001777/6.321, allocations: 148.1 kB / 3.376 GB, free: 99.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/6.321, allocations: 8.062 kB / 3.376 GB, free: 99.47 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.188e-06/6.321, allocations: 4 kB / 3.376 GB, free: 99.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/6.321, allocations: 47.92 kB / 3.376 GB, free: 99.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/6.321, allocations: 7.984 kB / 3.376 GB, free: 99.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/6.321, allocations: 27.84 kB / 3.376 GB, free: 99.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/6.321, allocations: 12 kB / 3.376 GB, free: 99.37 MB / 0.948 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 () * 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 6.749e-05/6.321, allocations: 120.9 kB / 3.376 GB, free: 99.25 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001481/6.322, allocations: 119.8 kB / 3.376 GB, free: 99.12 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/6.322, allocations: 23.72 kB / 3.376 GB, free: 99.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/6.322, allocations: 131.5 kB / 3.376 GB, free: 98.96 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/6.322, allocations: 7.953 kB / 3.376 GB, free: 98.96 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/6.322, allocations: 0 / 3.376 GB, free: 98.96 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/6.322, allocations: 96 / 3.376 GB, free: 98.96 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005461/6.322, allocations: 0.5357 MB / 3.377 GB, free: 98.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/6.322, allocations: 0 / 3.377 GB, free: 98.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/6.323, allocations: 36.19 kB / 3.377 GB, free: 98.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/6.323, allocations: 4 kB / 3.377 GB, free: 98.32 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/6.323, allocations: 0 / 3.377 GB, free: 98.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/6.323, allocations: 4 kB / 3.377 GB, free: 98.31 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/6.323, allocations: 3.938 kB / 3.377 GB, free: 98.31 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/6.323, allocations: 353.5 kB / 3.377 GB, free: 97.88 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.341e-05/6.323, allocations: 108.8 kB / 3.377 GB, free: 97.76 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/6.323, allocations: 7.984 kB / 3.377 GB, free: 97.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/6.323, allocations: 19.98 kB / 3.377 GB, free: 97.73 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/6.323, allocations: 19.92 kB / 3.377 GB, free: 97.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/6.323, allocations: 4 kB / 3.377 GB, free: 97.71 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000111/6.323, allocations: 174 kB / 3.377 GB, free: 97.54 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/6.323, allocations: 0 / 3.377 GB, free: 97.54 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008006/6.324, allocations: 223.6 kB / 3.378 GB, free: 97.32 MB / 0.948 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 () * 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.002172/6.326, allocations: 2.671 MB / 3.38 GB, free: 94.55 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002985/6.327, allocations: 192.9 kB / 3.38 GB, free: 94.36 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/6.327, allocations: 1.625 kB / 3.38 GB, free: 94.36 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.173e-05/6.327, allocations: 47.92 kB / 3.38 GB, free: 94.31 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006265/6.327, allocations: 116.5 kB / 3.381 GB, free: 94.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007181/6.328, allocations: 434.6 kB / 3.381 GB, free: 93.72 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/6.328, allocations: 0.784 MB / 3.382 GB, free: 92.91 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002858/6.329, allocations: 94.61 kB / 3.382 GB, free: 92.82 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.561e-05/6.329, allocations: 83.41 kB / 3.382 GB, free: 92.74 MB / 0.948 GB Notification: Performance of SimCode: time 2.7e-07/6.329, allocations: 0 / 3.382 GB, free: 92.74 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03394/6.363, allocations: 16.16 MB / 3.398 GB, free: 76.66 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000149/6.363, allocations: 168 kB / 3.398 GB, free: 76.45 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.411/8.774, allocations: 4 kB / 3.398 GB, free: 76.45 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)