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.9395/0.9395, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.001069/0.001069, allocations: 188.8 kB / 182.2 MB, free: 9.43 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.496/1.496, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.001164/0.001164, allocations: 88.09 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001778/0.001778, allocations: 281 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.809e-05/3.833e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4895/0.4896, allocations: 82.78 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.077/5.566, allocations: 1.83 GB / 2.587 GB, free: 230.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/5.567, allocations: 91.94 kB / 2.587 GB, free: 230.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.149/6.716, allocations: 342.3 MB / 2.922 GB, free: 161.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.713e-06/6.716, allocations: 4 kB / 2.922 GB, free: 161.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.064e-05/6.716, allocations: 7.125 kB / 2.922 GB, free: 161.7 MB / 0.698 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.001163/6.717, allocations: 0.6652 MB / 2.922 GB, free: 161 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/6.717, allocations: 12.03 kB / 2.922 GB, free: 161 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003955/6.718, allocations: 67.48 kB / 2.922 GB, free: 160.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004717/6.718, allocations: 316.2 kB / 2.923 GB, free: 160.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/6.718, allocations: 11.98 kB / 2.923 GB, free: 160.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/6.718, allocations: 15.83 kB / 2.923 GB, free: 160.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002088/6.718, allocations: 116.9 kB / 2.923 GB, free: 160.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/6.719, allocations: 251.4 kB / 2.923 GB, free: 160.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/6.719, allocations: 11.94 kB / 2.923 GB, free: 160.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/6.719, allocations: 0 / 2.923 GB, free: 160.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/6.719, allocations: 4 kB / 2.923 GB, free: 160.1 MB / 0.698 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.001261/6.72, allocations: 1.655 MB / 2.925 GB, free: 158.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/6.72, allocations: 70.53 kB / 2.925 GB, free: 158.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.057e-05/6.72, allocations: 64.55 kB / 2.925 GB, free: 158.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002376/6.721, allocations: 182.2 kB / 2.925 GB, free: 158 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/6.721, allocations: 42.56 kB / 2.925 GB, free: 158 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.853e-06/6.721, allocations: 0 / 2.925 GB, free: 158 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0004428/6.721, allocations: 140.8 kB / 2.925 GB, free: 157.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/6.721, allocations: 55.41 kB / 2.925 GB, free: 157.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/6.721, allocations: 226.2 kB / 2.925 GB, free: 157.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/6.721, allocations: 25.7 kB / 2.925 GB, free: 157.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.948e-05/6.721, allocations: 199.8 kB / 2.926 GB, free: 157.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/6.721, allocations: 35.55 kB / 2.926 GB, free: 157.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/6.721, allocations: 0 / 2.926 GB, free: 157.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.846e-05/6.721, allocations: 334.8 kB / 2.926 GB, free: 156.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.834e-05/6.722, allocations: 43.92 kB / 2.926 GB, free: 156.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/6.722, allocations: 189.6 kB / 2.926 GB, free: 156.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.9e-05/6.722, allocations: 67.89 kB / 2.926 GB, free: 156.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/6.722, allocations: 0 / 2.926 GB, free: 156.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002488/6.722, allocations: 197.1 kB / 2.926 GB, free: 156.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002627/6.722, allocations: 1.403 MB / 2.928 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/6.722, allocations: 0 / 2.928 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/6.722, allocations: 12 kB / 2.928 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/6.723, allocations: 43.92 kB / 2.928 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/6.723, allocations: 11.98 kB / 2.928 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/6.723, allocations: 39.67 kB / 2.928 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/6.723, allocations: 12 kB / 2.928 GB, free: 154.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.234e-06/6.723, allocations: 4 kB / 2.928 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001882/6.723, allocations: 147.7 kB / 2.928 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/6.723, allocations: 7.719 kB / 2.928 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-06/6.723, allocations: 7.953 kB / 2.928 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/6.723, allocations: 52.31 kB / 2.928 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/6.723, allocations: 15.98 kB / 2.928 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/6.723, allocations: 27.88 kB / 2.928 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/6.724, allocations: 12 kB / 2.928 GB, free: 154.5 MB / 0.698 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 7.292e-05/6.724, allocations: 112.9 kB / 2.928 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001518/6.724, allocations: 117.3 kB / 2.928 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/6.724, allocations: 31.67 kB / 2.928 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/6.724, allocations: 131.2 kB / 2.929 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/6.724, allocations: 0 / 2.929 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/6.724, allocations: 0 / 2.929 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/6.724, allocations: 0 / 2.929 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005832/6.725, allocations: 0.5435 MB / 2.929 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/6.725, allocations: 0 / 2.929 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/6.725, allocations: 23.98 kB / 2.929 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/6.725, allocations: 4 kB / 2.929 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/6.725, allocations: 4 kB / 2.929 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/6.725, allocations: 3.938 kB / 2.929 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/6.725, allocations: 4.219 kB / 2.929 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/6.725, allocations: 359.9 kB / 2.929 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/6.725, allocations: 108.8 kB / 2.93 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/6.725, allocations: 8.094 kB / 2.93 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/6.725, allocations: 19.92 kB / 2.93 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/6.725, allocations: 15.94 kB / 2.93 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/6.725, allocations: 4 kB / 2.93 GB, free: 152.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001178/6.726, allocations: 178 kB / 2.93 GB, free: 152.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/6.726, allocations: 0 / 2.93 GB, free: 152.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007992/6.726, allocations: 223.7 kB / 2.93 GB, free: 152.4 MB / 0.698 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.001919/6.728, allocations: 2.671 MB / 2.933 GB, free: 149.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003394/6.729, allocations: 194.4 kB / 2.933 GB, free: 149.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/6.729, allocations: 0 / 2.933 GB, free: 149.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.723e-05/6.729, allocations: 51.86 kB / 2.933 GB, free: 149.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006779/6.729, allocations: 98.23 kB / 2.933 GB, free: 149.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007978/6.73, allocations: 429.5 kB / 2.933 GB, free: 149 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/6.73, allocations: 0.7918 MB / 2.934 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000338/6.731, allocations: 90.61 kB / 2.934 GB, free: 148.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.405e-05/6.731, allocations: 87.41 kB / 2.934 GB, free: 148 MB / 0.698 GB Notification: Performance of SimCode: time 4.11e-07/6.731, allocations: 0 / 2.934 GB, free: 148 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03792/6.769, allocations: 16.2 MB / 2.95 GB, free: 131.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/6.769, allocations: 162.5 kB / 2.95 GB, free: 131.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.6/9.369, allocations: 0 / 2.95 GB, free: 131.7 MB / 0.698 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)