Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.701/1.701, allocations: 297.8 MB / 313.7 MB, free: 96 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 175.2 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 223.2 MB / 0.6626 GB, free: 4.336 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009789/0.0009785, allocations: 97.56 kB / 0.7808 GB, free: 43.65 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005496/0.00055, allocations: 14.34 kB / 0.9088 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8969/0.8975, allocations: 120.3 MB / 1.026 GB, free: 56.46 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.251/6.148, allocations: 1.898 GB / 2.925 GB, free: 286.5 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/6.149, allocations: 88.47 kB / 2.925 GB, free: 286.5 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.478/6.627, allocations: 246.4 MB / 3.165 GB, free: 34.95 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.884e-06/6.627, allocations: 0 / 3.165 GB, free: 34.95 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 3.776e-05/6.627, allocations: 8 kB / 3.165 GB, free: 34.94 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001459/6.628, allocations: 0.678 MB / 3.166 GB, free: 34.21 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/6.628, allocations: 8.031 kB / 3.166 GB, free: 34.2 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/6.63, allocations: 156.3 kB / 3.166 GB, free: 34.05 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005497/6.63, allocations: 323.2 kB / 3.167 GB, free: 33.7 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/6.63, allocations: 13.38 kB / 3.167 GB, free: 33.68 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/6.63, allocations: 24 kB / 3.167 GB, free: 33.66 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004681/6.631, allocations: 283.4 kB / 3.167 GB, free: 33.36 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/6.631, allocations: 0 / 3.167 GB, free: 33.36 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/6.631, allocations: 8 kB / 3.167 GB, free: 33.35 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/6.631, allocations: 4 kB / 3.167 GB, free: 33.35 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003723/6.631, allocations: 203.8 kB / 3.167 GB, free: 33.15 MB / 0.9792 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.001397/6.633, allocations: 1.209 MB / 3.168 GB, free: 31.84 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/6.633, allocations: 130.5 kB / 3.168 GB, free: 31.7 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/6.633, allocations: 92.81 kB / 3.168 GB, free: 31.61 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004285/6.633, allocations: 295.2 kB / 3.169 GB, free: 31.26 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/6.633, allocations: 42.55 kB / 3.169 GB, free: 31.21 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=15): time 2.525e-06/6.633, allocations: 0 / 3.169 GB, free: 31.21 MB / 0.9792 GB Notification: Performance of matching and sorting (n=15): time 0.0007094/6.634, allocations: 274.7 kB / 3.169 GB, free: 30.94 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/6.634, allocations: 59.33 kB / 3.169 GB, free: 30.87 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/6.634, allocations: 308.5 kB / 3.169 GB, free: 30.56 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/6.634, allocations: 33.7 kB / 3.169 GB, free: 30.52 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/6.635, allocations: 180.1 kB / 3.17 GB, free: 30.34 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/6.635, allocations: 51.3 kB / 3.17 GB, free: 30.29 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/6.635, allocations: 4 kB / 3.17 GB, free: 30.29 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.249e-05/6.635, allocations: 342.8 kB / 3.17 GB, free: 29.95 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/6.635, allocations: 71.89 kB / 3.17 GB, free: 29.88 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/6.635, allocations: 132.6 kB / 3.17 GB, free: 29.72 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/6.635, allocations: 181 kB / 3.17 GB, free: 29.53 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/6.635, allocations: 0 / 3.17 GB, free: 29.53 MB / 0.9792 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004011/6.636, allocations: 249 kB / 3.171 GB, free: 29.28 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/6.636, allocations: 4 kB / 3.171 GB, free: 29.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/6.636, allocations: 12.08 kB / 3.171 GB, free: 29.26 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/6.636, allocations: 0 / 3.171 GB, free: 29.26 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/6.636, allocations: 47.92 kB / 3.171 GB, free: 29.21 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/6.636, allocations: 7.984 kB / 3.171 GB, free: 29.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/6.636, allocations: 35.73 kB / 3.171 GB, free: 29.17 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/6.636, allocations: 8 kB / 3.171 GB, free: 29.16 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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 0.0001363/6.637, allocations: 157.6 kB / 3.171 GB, free: 29 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/6.637, allocations: 27.72 kB / 3.171 GB, free: 28.97 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000413/6.637, allocations: 221.9 kB / 3.171 GB, free: 28.75 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/6.637, allocations: 4 kB / 3.171 GB, free: 28.75 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/6.637, allocations: 4 kB / 3.171 GB, free: 28.75 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/6.637, allocations: 0 / 3.171 GB, free: 28.75 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008928/6.638, allocations: 0.664 MB / 3.172 GB, free: 28 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/6.638, allocations: 0 / 3.172 GB, free: 28 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/6.638, allocations: 39.92 kB / 3.172 GB, free: 27.96 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/6.638, allocations: 12.16 kB / 3.172 GB, free: 27.95 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/6.638, allocations: 0 / 3.172 GB, free: 27.95 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/6.638, allocations: 7.984 kB / 3.172 GB, free: 27.95 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/6.638, allocations: 8.062 kB / 3.172 GB, free: 27.94 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/6.639, allocations: 427 kB / 3.172 GB, free: 27.48 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/6.639, allocations: 120.7 kB / 3.172 GB, free: 27.35 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/6.639, allocations: 11.94 kB / 3.172 GB, free: 27.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/6.639, allocations: 15.92 kB / 3.172 GB, free: 27.32 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/6.639, allocations: 16.05 kB / 3.172 GB, free: 27.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/6.639, allocations: 8 kB / 3.172 GB, free: 27.3 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001951/6.639, allocations: 227 kB / 3.173 GB, free: 27.07 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.5e-07/6.639, allocations: 0 / 3.173 GB, free: 27.07 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0007731/6.64, allocations: 171.9 kB / 3.173 GB, free: 26.91 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.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 (15): * Single equations (assignments): 15 * 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.001616/6.642, allocations: 1.032 MB / 3.174 GB, free: 25.88 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004059/6.642, allocations: 173.5 kB / 3.174 GB, free: 25.71 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/6.642, allocations: 0 / 3.174 GB, free: 25.71 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/6.642, allocations: 92.41 kB / 3.174 GB, free: 25.62 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009252/6.643, allocations: 154.1 kB / 3.174 GB, free: 25.46 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/6.644, allocations: 0.7043 MB / 3.175 GB, free: 24.71 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/6.645, allocations: 0.7719 MB / 3.176 GB, free: 23.91 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002494/6.645, allocations: 66.92 kB / 3.176 GB, free: 23.85 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.929e-05/6.645, allocations: 27.44 kB / 3.176 GB, free: 23.82 MB / 0.9792 GB Notification: Performance of SimCode: time 2.21e-07/6.645, allocations: 0 / 3.176 GB, free: 23.82 MB / 0.9792 GB Notification: Performance of Templates: time 0.02369/6.669, allocations: 17.96 MB / 3.193 GB, free: 5.941 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)