Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.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.Density,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Density,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Density",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.8833/0.8833, allocations: 143.3 MB / 158.3 MB, free: 5.824 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.001568/0.001568, allocations: 188.5 kB / 191.5 MB, free: 5.766 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.619/1.619, allocations: 223.1 MB / 447.7 MB, free: 4.836 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.001178/0.001178, allocations: 88.33 kB / 0.5187 GB, free: 1.199 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002085, allocations: 271.8 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005127/0.0005127, allocations: 16.25 kB / 0.6929 GB, free: 59.44 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1987, allocations: 82.79 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.56/4.759, allocations: 1.886 GB / 2.66 GB, free: 191.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003339/4.759, allocations: 95.2 kB / 2.66 GB, free: 191.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.781/6.54, allocations: 490.1 MB / 3.138 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.515e-06/6.54, allocations: 0 / 3.138 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.65e-05/6.54, allocations: 22.09 kB / 3.138 GB, free: 149.2 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002884/6.543, allocations: 1.138 MB / 3.139 GB, free: 148.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/6.543, allocations: 8.469 kB / 3.139 GB, free: 148.8 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001525/6.543, allocations: 97.7 kB / 3.139 GB, free: 148.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/6.545, allocations: 270.3 kB / 3.14 GB, free: 148.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/6.547, allocations: 0.6066 MB / 3.14 GB, free: 148.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.157e-05/6.547, allocations: 45.03 kB / 3.14 GB, free: 148.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/6.547, allocations: 59.97 kB / 3.14 GB, free: 148.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/6.548, allocations: 0.6067 MB / 3.141 GB, free: 148.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/6.548, allocations: 3.188 kB / 3.141 GB, free: 148.4 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.649e-05/6.548, allocations: 25.22 kB / 3.141 GB, free: 148.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.844e-05/6.548, allocations: 22.56 kB / 3.141 GB, free: 148.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009554/6.549, allocations: 0.4984 MB / 3.142 GB, free: 148.4 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.003389/6.553, allocations: 2.421 MB / 3.144 GB, free: 147.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006481/6.553, allocations: 371.4 kB / 3.144 GB, free: 147.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005078/6.554, allocations: 306.5 kB / 3.145 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/6.554, allocations: 35.89 kB / 3.145 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 2.454e-06/6.554, allocations: 1.5 kB / 3.145 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.001501/6.555, allocations: 0.6043 MB / 3.145 GB, free: 146.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/6.555, allocations: 57.19 kB / 3.145 GB, free: 146.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005765/6.556, allocations: 440.5 kB / 3.146 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/6.556, allocations: 36.27 kB / 3.146 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/6.556, allocations: 323.2 kB / 3.146 GB, free: 146.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/6.556, allocations: 139.7 kB / 3.146 GB, free: 146.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/6.556, allocations: 13.53 kB / 3.146 GB, free: 146.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000106/6.556, allocations: 364.5 kB / 3.146 GB, free: 146 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/6.557, allocations: 167 kB / 3.147 GB, free: 146 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000411/6.557, allocations: 297.2 kB / 3.147 GB, free: 145.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003935/6.558, allocations: 205.4 kB / 3.147 GB, free: 145.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/6.558, allocations: 0 / 3.147 GB, free: 145.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000973/6.559, allocations: 0.5245 MB / 3.148 GB, free: 145.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002479/6.559, allocations: 0.8746 MB / 3.148 GB, free: 144.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/6.559, allocations: 2.438 kB / 3.149 GB, free: 144.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/6.559, allocations: 7.938 kB / 3.149 GB, free: 144.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006742/6.56, allocations: 111.4 kB / 3.149 GB, free: 144.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003562/6.56, allocations: 0.5934 MB / 3.149 GB, free: 144.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008086/6.561, allocations: 86.05 kB / 3.149 GB, free: 144.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.45e-05/6.561, allocations: 25.92 kB / 3.149 GB, free: 144.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/6.561, allocations: 3.031 kB / 3.149 GB, free: 144.3 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008196/6.562, allocations: 453.5 kB / 3.15 GB, free: 144.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/6.562, allocations: 2.562 kB / 3.15 GB, free: 144.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/6.562, allocations: 8.406 kB / 3.15 GB, free: 144.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004636/6.562, allocations: 102.8 kB / 3.15 GB, free: 144.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/6.562, allocations: 4.125 kB / 3.15 GB, free: 144.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006684/6.563, allocations: 72.44 kB / 3.15 GB, free: 144.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/6.563, allocations: 21.45 kB / 3.15 GB, free: 144.3 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004975/6.563, allocations: 313.2 kB / 3.15 GB, free: 144.1 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/6.564, allocations: 64.02 kB / 3.15 GB, free: 144 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009486/6.565, allocations: 479.2 kB / 3.151 GB, free: 144 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/6.565, allocations: 4.656 kB / 3.151 GB, free: 144 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/6.565, allocations: 3.656 kB / 3.151 GB, free: 144 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007493/6.565, allocations: 0.7053 MB / 3.151 GB, free: 143.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/6.568, allocations: 1.268 MB / 3.153 GB, free: 143.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/6.568, allocations: 2.438 kB / 3.153 GB, free: 143.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006506/6.568, allocations: 111.4 kB / 3.153 GB, free: 143.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.53e-05/6.568, allocations: 8.016 kB / 3.153 GB, free: 143.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/6.569, allocations: 10.81 kB / 3.153 GB, free: 143.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002734/6.569, allocations: 0.6016 MB / 3.153 GB, free: 142.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/6.569, allocations: 2.219 kB / 3.153 GB, free: 142.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/6.57, allocations: 0.9033 MB / 3.154 GB, free: 142.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004838/6.571, allocations: 185.9 kB / 3.154 GB, free: 142.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.957e-05/6.571, allocations: 11.78 kB / 3.154 GB, free: 142.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005756/6.572, allocations: 46.27 kB / 3.155 GB, free: 142.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/6.572, allocations: 28.94 kB / 3.155 GB, free: 142.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.113e-05/6.572, allocations: 20 kB / 3.155 GB, free: 142.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000562/6.572, allocations: 345 kB / 3.155 GB, free: 142 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/6.572, allocations: 0 / 3.155 GB, free: 142 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002093/6.574, allocations: 496.1 kB / 3.155 GB, free: 142 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003784/6.578, allocations: 3.201 MB / 3.158 GB, free: 140.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001401/6.58, allocations: 0.6551 MB / 3.159 GB, free: 140.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/6.58, allocations: 0 / 3.159 GB, free: 140.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003566/6.58, allocations: 225.8 kB / 3.159 GB, free: 140.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/6.582, allocations: 352.1 kB / 3.16 GB, free: 140.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005712/6.587, allocations: 5.128 MB / 3.165 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/6.588, allocations: 0.9643 MB / 3.166 GB, free: 137.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007762/6.589, allocations: 198.2 kB / 3.166 GB, free: 137.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/6.589, allocations: 232.5 kB / 3.166 GB, free: 137.1 MB / 0.7136 GB Notification: Performance of SimCode: time 1.383e-06/6.589, allocations: 2.875 kB / 3.166 GB, free: 137.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06594/6.655, allocations: 38.18 MB / 3.203 GB, free: 136.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/6.655, allocations: 258 kB / 3.204 GB, free: 136 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.534/10.19, allocations: 0 / 3.204 GB, free: 136 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Density.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe 2>&1)