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: translateModel(BuildingSystems.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density") translateModel(BuildingSystems.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8336/0.8336, allocations: 143.4 MB / 158.3 MB, free: 5.77 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.00112/0.00112, allocations: 179.5 kB / 191.5 MB, free: 5.758 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.421/1.421, allocations: 223.2 MB / 447.7 MB, free: 6.578 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.0008728/0.0008726, allocations: 92.27 kB / 0.5188 GB, free: 2.938 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001745/0.001745, allocations: 273.3 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004258/0.000426, allocations: 16 kB / 0.6929 GB, free: 2.32 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3601, allocations: 82.78 MB / 0.7737 GB, free: 26.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.171/4.531, allocations: 1.886 GB / 2.66 GB, free: 137.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004099/4.531, allocations: 91.83 kB / 2.66 GB, free: 137.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.873/6.404, allocations: 490.1 MB / 3.138 GB, free: 154.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.844e-06/6.404, allocations: 0 / 3.138 GB, free: 154.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.641e-05/6.405, allocations: 19.19 kB / 3.138 GB, free: 154.2 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.00217/6.407, allocations: 1.139 MB / 3.139 GB, free: 153.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/6.407, allocations: 10.38 kB / 3.139 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/6.409, allocations: 269.7 kB / 3.14 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/6.41, allocations: 0.6087 MB / 3.14 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/6.41, allocations: 38.47 kB / 3.14 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.113e-05/6.41, allocations: 61.34 kB / 3.14 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009672/6.411, allocations: 0.6196 MB / 3.141 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/6.411, allocations: 0 / 3.141 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.386e-05/6.411, allocations: 24.22 kB / 3.141 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/6.411, allocations: 18.38 kB / 3.141 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007947/6.412, allocations: 0.5029 MB / 3.141 GB, free: 153.2 MB / 0.698 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.002662/6.414, allocations: 2.422 MB / 3.144 GB, free: 152 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005218/6.415, allocations: 364.2 kB / 3.144 GB, free: 151.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004794/6.415, allocations: 304 kB / 3.144 GB, free: 151.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/6.416, allocations: 40.36 kB / 3.144 GB, free: 151.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 1.674e-06/6.416, allocations: 0 / 3.144 GB, free: 151.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.001247/6.417, allocations: 0.6139 MB / 3.145 GB, free: 151.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/6.417, allocations: 57.88 kB / 3.145 GB, free: 151.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/6.417, allocations: 441.3 kB / 3.146 GB, free: 151.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/6.417, allocations: 29.33 kB / 3.146 GB, free: 151.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/6.417, allocations: 322.5 kB / 3.146 GB, free: 151.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.95e-05/6.418, allocations: 139.4 kB / 3.146 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/6.418, allocations: 6.875 kB / 3.146 GB, free: 151.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.474e-05/6.418, allocations: 368.5 kB / 3.146 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/6.418, allocations: 168 kB / 3.147 GB, free: 150.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/6.418, allocations: 288.8 kB / 3.147 GB, free: 150.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/6.419, allocations: 208.3 kB / 3.147 GB, free: 150.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/6.419, allocations: 0 / 3.147 GB, free: 150.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007631/6.419, allocations: 0.5274 MB / 3.147 GB, free: 150.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001629/6.42, allocations: 0.8724 MB / 3.148 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/6.42, allocations: 3.312 kB / 3.148 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/6.42, allocations: 13.66 kB / 3.148 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/6.42, allocations: 108.4 kB / 3.148 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002736/6.42, allocations: 0.6063 MB / 3.149 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006681/6.421, allocations: 76.77 kB / 3.149 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/6.421, allocations: 22.52 kB / 3.149 GB, free: 149.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/6.421, allocations: 9.219 kB / 3.149 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006663/6.422, allocations: 451.1 kB / 3.15 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/6.422, allocations: 3.844 kB / 3.15 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-06/6.422, allocations: 3.656 kB / 3.15 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/6.422, allocations: 104.7 kB / 3.15 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/6.422, allocations: 6.219 kB / 3.15 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/6.423, allocations: 72.77 kB / 3.15 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/6.423, allocations: 21.19 kB / 3.15 GB, free: 149 MB / 0.698 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.0003269/6.423, allocations: 313.5 kB / 3.15 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.357e-05/6.423, allocations: 61.06 kB / 3.15 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007657/6.424, allocations: 478.7 kB / 3.151 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/6.424, allocations: 6.906 kB / 3.151 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/6.424, allocations: 6.5 kB / 3.151 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006487/6.425, allocations: 0.7001 MB / 3.151 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/6.427, allocations: 1.267 MB / 3.153 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/6.427, allocations: 3.312 kB / 3.153 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/6.427, allocations: 111.2 kB / 3.153 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/6.427, allocations: 7.438 kB / 3.153 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/6.427, allocations: 9.688 kB / 3.153 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00019/6.427, allocations: 0.5976 MB / 3.153 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/6.427, allocations: 0 / 3.153 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009883/6.428, allocations: 0.9012 MB / 3.154 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/6.429, allocations: 183.9 kB / 3.154 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7e-05/6.429, allocations: 10.8 kB / 3.154 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004993/6.429, allocations: 51.72 kB / 3.154 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.022e-05/6.429, allocations: 34.25 kB / 3.154 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/6.429, allocations: 18.33 kB / 3.154 GB, free: 146.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003138/6.43, allocations: 347.9 kB / 3.155 GB, free: 146.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.43, allocations: 0 / 3.155 GB, free: 146.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001262/6.431, allocations: 493.9 kB / 3.155 GB, free: 146.7 MB / 0.698 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.001632/6.433, allocations: 1.382 MB / 3.157 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001244/6.434, allocations: 0.6612 MB / 3.157 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/6.434, allocations: 0 / 3.157 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000345/6.434, allocations: 218.3 kB / 3.157 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/6.436, allocations: 351 kB / 3.158 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/6.438, allocations: 1.702 MB / 3.159 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/6.438, allocations: 0.9667 MB / 3.16 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006543/6.439, allocations: 200 kB / 3.161 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/6.439, allocations: 50.53 kB / 3.161 GB, free: 144.9 MB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/6.439, allocations: 3.938 kB / 3.161 GB, free: 144.9 MB / 0.698 GB Notification: Performance of Templates: time 0.03476/6.474, allocations: 27.66 MB / 3.188 GB, free: 133 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe 2>&1)