Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Pressure,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Pressure,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8287/0.8287, allocations: 143.3 MB / 158.3 MB, free: 5.754 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001131, allocations: 187.7 kB / 191.5 MB, free: 5.75 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.67/1.67, allocations: 223.2 MB / 447.7 MB, free: 4.816 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009313/0.0009316, allocations: 92.31 kB / 0.5187 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001873/0.001873, allocations: 261.9 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.0004723, allocations: 14.88 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2091, allocations: 82.79 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.213/5.422, allocations: 1.83 GB / 2.604 GB, free: 247 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/5.422, allocations: 88.7 kB / 2.604 GB, free: 247 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.48/6.902, allocations: 346.8 MB / 2.943 GB, free: 188.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.487e-06/6.902, allocations: 4 kB / 2.943 GB, free: 188.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.432e-05/6.902, allocations: 10.5 kB / 2.943 GB, free: 188.9 MB / 0.7136 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.001979/6.904, allocations: 0.7138 MB / 2.944 GB, free: 188.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/6.904, allocations: 10.91 kB / 2.944 GB, free: 188.4 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001343/6.904, allocations: 58.09 kB / 2.944 GB, free: 188.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005062/6.905, allocations: 57.34 kB / 2.944 GB, free: 188.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007586/6.906, allocations: 334.7 kB / 2.944 GB, free: 188 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/6.906, allocations: 15 kB / 2.944 GB, free: 188 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.774e-05/6.906, allocations: 23.94 kB / 2.944 GB, free: 188 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005463/6.906, allocations: 298.6 kB / 2.944 GB, free: 187.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/6.906, allocations: 0 / 2.944 GB, free: 187.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/6.906, allocations: 19.14 kB / 2.944 GB, free: 187.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/6.906, allocations: 3.875 kB / 2.944 GB, free: 187.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004097/6.907, allocations: 180.4 kB / 2.945 GB, free: 187.7 MB / 0.7136 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.001936/6.909, allocations: 1.71 MB / 2.946 GB, free: 185.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/6.909, allocations: 86.56 kB / 2.946 GB, free: 185.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002971/6.909, allocations: 194.2 kB / 2.947 GB, free: 185.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/6.909, allocations: 30.56 kB / 2.947 GB, free: 185.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.974e-06/6.909, allocations: 0 / 2.947 GB, free: 185.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0007455/6.91, allocations: 236.5 kB / 2.947 GB, free: 185.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/6.91, allocations: 55.36 kB / 2.947 GB, free: 185.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/6.91, allocations: 286.4 kB / 2.947 GB, free: 184.9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/6.911, allocations: 29.7 kB / 2.947 GB, free: 184.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/6.911, allocations: 198.4 kB / 2.947 GB, free: 184.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/6.911, allocations: 38.34 kB / 2.947 GB, free: 184.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-06/6.911, allocations: 4 kB / 2.947 GB, free: 184.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.274e-05/6.911, allocations: 342.8 kB / 2.948 GB, free: 184.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/6.911, allocations: 55.95 kB / 2.948 GB, free: 184.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/6.911, allocations: 207.3 kB / 2.948 GB, free: 184 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/6.911, allocations: 88.39 kB / 2.948 GB, free: 183.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/6.911, allocations: 4 kB / 2.948 GB, free: 183.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000491/6.912, allocations: 256.3 kB / 2.948 GB, free: 183.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004073/6.912, allocations: 1.406 MB / 2.95 GB, free: 182.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/6.912, allocations: 4 kB / 2.95 GB, free: 182.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/6.912, allocations: 4 kB / 2.95 GB, free: 182.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/6.913, allocations: 63.91 kB / 2.95 GB, free: 182.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/6.913, allocations: 4 kB / 2.95 GB, free: 182.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003398/6.913, allocations: 47.66 kB / 2.95 GB, free: 182 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.583e-05/6.913, allocations: 12 kB / 2.95 GB, free: 182 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/6.913, allocations: 4.781 kB / 2.95 GB, free: 182 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003732/6.913, allocations: 199.8 kB / 2.95 GB, free: 181.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/6.913, allocations: 16.03 kB / 2.95 GB, free: 181.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/6.913, allocations: 8.656 kB / 2.95 GB, free: 181.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/6.914, allocations: 47.92 kB / 2.95 GB, free: 181.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/6.914, allocations: 7.984 kB / 2.95 GB, free: 181.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/6.914, allocations: 43.72 kB / 2.95 GB, free: 181.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/6.914, allocations: 16 kB / 2.95 GB, free: 181.7 MB / 0.7136 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.0002056/6.914, allocations: 237 kB / 2.95 GB, free: 181.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/6.914, allocations: 30.66 kB / 2.95 GB, free: 181.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003879/6.915, allocations: 180.3 kB / 2.951 GB, free: 181.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/6.915, allocations: 4 kB / 2.951 GB, free: 181.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/6.915, allocations: 0 / 2.951 GB, free: 181.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/6.915, allocations: 0 / 2.951 GB, free: 181.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000967/6.916, allocations: 0.6093 MB / 2.951 GB, free: 180.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/6.916, allocations: 4 kB / 2.951 GB, free: 180.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/6.916, allocations: 35.53 kB / 2.951 GB, free: 180.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/6.916, allocations: 16 kB / 2.951 GB, free: 180.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/6.916, allocations: 4 kB / 2.951 GB, free: 180.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/6.916, allocations: 0 / 2.951 GB, free: 180.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/6.916, allocations: 4 kB / 2.951 GB, free: 180.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004419/6.916, allocations: 395.8 kB / 2.952 GB, free: 180 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/6.917, allocations: 116.7 kB / 2.952 GB, free: 179.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/6.917, allocations: 8 kB / 2.952 GB, free: 179.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/6.917, allocations: 19.98 kB / 2.952 GB, free: 179.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/6.917, allocations: 15.88 kB / 2.952 GB, free: 179.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/6.917, allocations: 8 kB / 2.952 GB, free: 179.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002316/6.917, allocations: 223 kB / 2.952 GB, free: 179.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/6.917, allocations: 4 kB / 2.952 GB, free: 179.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001262/6.918, allocations: 251.5 kB / 2.952 GB, free: 179.4 MB / 0.7136 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.003384/6.922, allocations: 2.556 MB / 2.955 GB, free: 176.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006881/6.923, allocations: 259.6 kB / 2.955 GB, free: 176.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/6.923, allocations: 0 / 2.955 GB, free: 176.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/6.923, allocations: 73.2 kB / 2.955 GB, free: 176.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008224/6.924, allocations: 136.8 kB / 2.955 GB, free: 176.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/6.927, allocations: 3.88 MB / 2.959 GB, free: 172.4 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/6.928, allocations: 0.7797 MB / 2.96 GB, free: 171.6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003643/6.928, allocations: 86.88 kB / 2.96 GB, free: 171.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/6.928, allocations: 91.41 kB / 2.96 GB, free: 171.4 MB / 0.7136 GB Notification: Performance of SimCode: time 1.693e-06/6.928, allocations: 0 / 2.96 GB, free: 171.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05158/6.98, allocations: 27.08 MB / 2.986 GB, free: 144.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002401/6.98, allocations: 225.1 kB / 2.987 GB, free: 144.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.191/10.17, allocations: 7.938 kB / 2.987 GB, free: 144.3 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Pressure.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe 2>&1)