Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.275/1.275, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009204/0.0009204, allocations: 180 kB / 327.6 MB, free: 2.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.4 MB / 0.5785 GB, free: 20.51 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007498/0.0007499, allocations: 87.62 kB / 0.6831 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003883, allocations: 17.53 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1763, allocations: 106.3 MB / 0.9012 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.89/4.066, allocations: 2.198 GB / 3.1 GB, free: 20.88 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/4.066, allocations: 99.94 kB / 3.1 GB, free: 20.78 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.678/5.744, allocations: 469.7 MB / 3.558 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.242e-06/5.744, allocations: 3.609 kB / 3.558 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.191e-05/5.744, allocations: 16.91 kB / 3.558 GB, free: 219.6 MB / 0.8855 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.002715/5.747, allocations: 1.138 MB / 3.559 GB, free: 219 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/5.747, allocations: 11.59 kB / 3.56 GB, free: 219 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/5.749, allocations: 263.2 kB / 3.56 GB, free: 219 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/5.75, allocations: 0.6352 MB / 3.56 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.831e-05/5.75, allocations: 46.03 kB / 3.56 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/5.75, allocations: 56.47 kB / 3.56 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/5.751, allocations: 0.6224 MB / 3.561 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/5.751, allocations: 7.75 kB / 3.561 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.391e-05/5.751, allocations: 21.25 kB / 3.561 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.568e-05/5.751, allocations: 16.62 kB / 3.561 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008189/5.752, allocations: 0.5121 MB / 3.562 GB, free: 218.6 MB / 0.8855 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.002748/5.755, allocations: 2.43 MB / 3.564 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000477/5.755, allocations: 365.2 kB / 3.564 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/5.756, allocations: 227.3 kB / 3.565 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004399/5.756, allocations: 308.9 kB / 3.565 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/5.756, allocations: 40.72 kB / 3.565 GB, free: 217 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=39): time 2.405e-06/5.756, allocations: 0 / 3.565 GB, free: 217 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39): time 0.001218/5.758, allocations: 0.6106 MB / 3.565 GB, free: 216.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/5.758, allocations: 55.28 kB / 3.566 GB, free: 216.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004921/5.758, allocations: 0.4894 MB / 3.566 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/5.758, allocations: 37.36 kB / 3.566 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/5.758, allocations: 323.7 kB / 3.566 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.561e-05/5.758, allocations: 143.7 kB / 3.567 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/5.758, allocations: 7.5 kB / 3.567 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.119e-05/5.758, allocations: 363.3 kB / 3.567 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/5.759, allocations: 166.4 kB / 3.567 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003251/5.759, allocations: 287.8 kB / 3.567 GB, free: 216.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005788/5.76, allocations: 443.9 kB / 3.568 GB, free: 216 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/5.76, allocations: 0 / 3.568 GB, free: 216 MB / 0.8855 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007643/5.76, allocations: 0.5104 MB / 3.568 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7e-05/5.761, allocations: 159 kB / 3.568 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/5.761, allocations: 7.844 kB / 3.568 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/5.761, allocations: 3.875 kB / 3.568 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005853/5.761, allocations: 116 kB / 3.568 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002653/5.761, allocations: 0.5951 MB / 3.569 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006481/5.762, allocations: 86.95 kB / 3.569 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/5.762, allocations: 22.66 kB / 3.569 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.633e-06/5.762, allocations: 3.812 kB / 3.569 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006586/5.763, allocations: 445.2 kB / 3.57 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/5.763, allocations: 7.75 kB / 3.57 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.121e-06/5.763, allocations: 7.812 kB / 3.57 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/5.763, allocations: 106 kB / 3.57 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/5.763, allocations: 3.656 kB / 3.57 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005742/5.764, allocations: 85.3 kB / 3.57 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/5.764, allocations: 18.47 kB / 3.57 GB, free: 215.1 MB / 0.8855 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.0003057/5.764, allocations: 307.4 kB / 3.57 GB, free: 215 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/5.764, allocations: 57.06 kB / 3.57 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007383/5.765, allocations: 476.6 kB / 3.571 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/5.765, allocations: 3.844 kB / 3.571 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/5.765, allocations: 3.938 kB / 3.571 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006282/5.766, allocations: 0.6998 MB / 3.571 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/5.767, allocations: 1.274 MB / 3.573 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/5.767, allocations: 3.75 kB / 3.573 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004703/5.768, allocations: 111.2 kB / 3.573 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/5.768, allocations: 3.75 kB / 3.573 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/5.768, allocations: 14.66 kB / 3.573 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001835/5.768, allocations: 0.5849 MB / 3.573 GB, free: 213.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/5.768, allocations: 5.562 kB / 3.573 GB, free: 213.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009719/5.769, allocations: 0.8304 MB / 3.574 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/5.769, allocations: 184.4 kB / 3.574 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.699e-05/5.77, allocations: 14.34 kB / 3.574 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005025/5.77, allocations: 51.89 kB / 3.574 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/5.77, allocations: 25.5 kB / 3.574 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/5.77, allocations: 17.55 kB / 3.574 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000334/5.77, allocations: 349.7 kB / 3.575 GB, free: 213 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/5.771, allocations: 0 / 3.575 GB, free: 213 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001373/5.772, allocations: 0.4915 MB / 3.575 GB, free: 213 MB / 0.8855 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.001981/5.774, allocations: 1.4 MB / 3.577 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001281/5.775, allocations: 0.6561 MB / 3.577 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/5.775, allocations: 0 / 3.577 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003507/5.776, allocations: 224.2 kB / 3.577 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/5.777, allocations: 362.2 kB / 3.578 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/5.779, allocations: 1.704 MB / 3.579 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/5.78, allocations: 0.9455 MB / 3.58 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000704/5.78, allocations: 200.5 kB / 3.581 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/5.781, allocations: 58.5 kB / 3.581 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of SimCode: time 6.81e-07/5.781, allocations: 0 / 3.581 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.0348/5.815, allocations: 28.13 MB / 3.608 GB, free: 201.6 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)