Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.836/0.836, allocations: 128.7 MB / 143.7 MB, free: 2.301 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 186.2 kB / 173.8 MB, free: 6.109 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.4 MB / 409 MB, free: 10.48 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008705/0.0008705, allocations: 89.42 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003226, allocations: 10.03 kB / 0.5603 GB, free: 97.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1385, allocations: 76.77 MB / 0.6353 GB, free: 30.54 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.814/4.953, allocations: 2.157 GB / 2.792 GB, free: 157.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/4.953, allocations: 95.94 kB / 2.792 GB, free: 157 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.644/6.597, allocations: 482 MB / 3.263 GB, free: 123.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.595e-06/6.597, allocations: 0 / 3.263 GB, free: 123.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.713e-05/6.597, allocations: 27.03 kB / 3.263 GB, free: 123.5 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002209/6.599, allocations: 1.138 MB / 3.264 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/6.599, allocations: 9.281 kB / 3.264 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/6.601, allocations: 267.1 kB / 3.264 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/6.602, allocations: 0.6285 MB / 3.265 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/6.602, allocations: 45.8 kB / 3.265 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.911e-05/6.602, allocations: 53.5 kB / 3.265 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/6.604, allocations: 0.6508 MB / 3.265 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/6.604, allocations: 3.094 kB / 3.265 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.478e-05/6.604, allocations: 21.44 kB / 3.265 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/6.604, allocations: 20.31 kB / 3.265 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/6.605, allocations: 0.5509 MB / 3.266 GB, free: 122.5 MB / 0.6511 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.002664/6.608, allocations: 2.413 MB / 3.268 GB, free: 121.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007713/6.608, allocations: 420.2 kB / 3.269 GB, free: 121.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004787/6.609, allocations: 301.1 kB / 3.269 GB, free: 121 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/6.609, allocations: 43.05 kB / 3.269 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=38): time 2.524e-06/6.609, allocations: 0 / 3.269 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38): time 0.00158/6.61, allocations: 0.661 MB / 3.27 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/6.611, allocations: 57.16 kB / 3.27 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004292/6.611, allocations: 438.3 kB / 3.27 GB, free: 120.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.962e-05/6.611, allocations: 36.77 kB / 3.27 GB, free: 120.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/6.611, allocations: 327.8 kB / 3.271 GB, free: 120.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.068e-05/6.611, allocations: 135 kB / 3.271 GB, free: 120.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-05/6.611, allocations: 9.5 kB / 3.271 GB, free: 120.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.86e-05/6.611, allocations: 372.6 kB / 3.271 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/6.612, allocations: 168.4 kB / 3.271 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/6.612, allocations: 294.7 kB / 3.271 GB, free: 120 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/6.612, allocations: 218.4 kB / 3.272 GB, free: 120 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/6.612, allocations: 0 / 3.272 GB, free: 120 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008211/6.613, allocations: 0.5286 MB / 3.272 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001572/6.613, allocations: 0.7914 MB / 3.273 GB, free: 119.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/6.613, allocations: 9.328 kB / 3.273 GB, free: 119.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/6.613, allocations: 3.375 kB / 3.273 GB, free: 119.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/6.615, allocations: 188.5 kB / 3.273 GB, free: 119.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006793/6.615, allocations: 0.6597 MB / 3.274 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006828/6.616, allocations: 78.95 kB / 3.274 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/6.616, allocations: 21.78 kB / 3.274 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/6.616, allocations: 3.875 kB / 3.274 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006514/6.617, allocations: 443.6 kB / 3.274 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/6.617, allocations: 3.281 kB / 3.274 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-06/6.617, allocations: 6.094 kB / 3.274 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/6.617, allocations: 99.78 kB / 3.274 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/6.617, allocations: 15.03 kB / 3.274 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005238/6.618, allocations: 76.2 kB / 3.275 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/6.618, allocations: 15.72 kB / 3.275 GB, free: 118.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (52): * Single equations (assignments): 51 * 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.0004073/6.618, allocations: 307.1 kB / 3.275 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.89e-05/6.618, allocations: 56.16 kB / 3.275 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008033/6.619, allocations: 491.8 kB / 3.275 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/6.619, allocations: 2.062 kB / 3.275 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/6.619, allocations: 4.766 kB / 3.275 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006634/6.62, allocations: 0.7215 MB / 3.276 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/6.622, allocations: 1.271 MB / 3.277 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/6.622, allocations: 0 / 3.277 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/6.623, allocations: 207.8 kB / 3.278 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.83e-06/6.623, allocations: 3.969 kB / 3.278 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/6.623, allocations: 7.438 kB / 3.278 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/6.625, allocations: 1.515 MB / 3.279 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/6.625, allocations: 6.781 kB / 3.279 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/6.626, allocations: 0.9005 MB / 3.28 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002785/6.626, allocations: 183.1 kB / 3.28 GB, free: 115.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.405e-05/6.626, allocations: 10.67 kB / 3.28 GB, free: 115.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005251/6.627, allocations: 60.91 kB / 3.28 GB, free: 115.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.46e-05/6.627, allocations: 32.52 kB / 3.28 GB, free: 115.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/6.627, allocations: 17.23 kB / 3.28 GB, free: 115.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003532/6.627, allocations: 346.3 kB / 3.281 GB, free: 115.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.01e-07/6.627, allocations: 0 / 3.281 GB, free: 115.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00139/6.629, allocations: 478.7 kB / 3.281 GB, free: 115.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (38): * Single equations (assignments): 37 * 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.00173/6.63, allocations: 1.389 MB / 3.282 GB, free: 115.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001825/6.632, allocations: 0.7231 MB / 3.283 GB, free: 115.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/6.632, allocations: 6.438 kB / 3.283 GB, free: 115.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009923/6.633, allocations: 305.2 kB / 3.283 GB, free: 115.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/6.635, allocations: 352.5 kB / 3.284 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/6.637, allocations: 1.707 MB / 3.285 GB, free: 114.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/6.637, allocations: 0.9625 MB / 3.286 GB, free: 113.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007085/6.638, allocations: 195.4 kB / 3.286 GB, free: 113.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/6.638, allocations: 48.91 kB / 3.286 GB, free: 113.7 MB / 0.6511 GB Notification: Performance of SimCode: time 8.31e-07/6.638, allocations: 0 / 3.286 GB, free: 113.7 MB / 0.6511 GB Notification: Performance of Templates: time 0.03525/6.673, allocations: 27.82 MB / 3.314 GB, free: 112.2 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1)