Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") translateModel(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7884/0.7884, allocations: 140.1 MB / 156 MB, free: 5.176 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 185.6 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.962/1.962, allocations: 205.4 MB / 426.3 MB, free: 8.398 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 94.3 kB / 0.4945 GB, free: 8.34 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001785/0.001785, allocations: 278.7 kB / 0.5729 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006146/0.000615, allocations: 16 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.518/0.5186, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.397/5.916, allocations: 2.031 GB / 2.771 GB, free: 178.9 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/5.916, allocations: 87.95 kB / 2.771 GB, free: 178.8 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.9308/6.847, allocations: 242.9 MB / 3.008 GB, free: 185.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.014e-06/6.847, allocations: 2.156 kB / 3.008 GB, free: 185.5 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.598e-05/6.847, allocations: 18.31 kB / 3.008 GB, free: 185.5 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001836/6.849, allocations: 0.6821 MB / 3.009 GB, free: 185 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/6.849, allocations: 14.75 kB / 3.009 GB, free: 185 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/6.85, allocations: 151.1 kB / 3.009 GB, free: 185 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006491/6.851, allocations: 332.4 kB / 3.009 GB, free: 184.8 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/6.851, allocations: 18.78 kB / 3.009 GB, free: 184.8 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.327e-05/6.851, allocations: 26.78 kB / 3.009 GB, free: 184.8 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005445/6.852, allocations: 284.7 kB / 3.01 GB, free: 184.6 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/6.852, allocations: 7.594 kB / 3.01 GB, free: 184.6 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/6.852, allocations: 11.81 kB / 3.01 GB, free: 184.6 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/6.852, allocations: 7.781 kB / 3.01 GB, free: 184.6 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004758/6.852, allocations: 202.6 kB / 3.01 GB, free: 184.5 MB / 0.6667 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.001636/6.854, allocations: 1.223 MB / 3.011 GB, free: 183.6 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/6.854, allocations: 134.1 kB / 3.011 GB, free: 183.5 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/6.854, allocations: 95.28 kB / 3.011 GB, free: 183.5 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004394/6.855, allocations: 302.3 kB / 3.012 GB, free: 183.2 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/6.855, allocations: 42.09 kB / 3.012 GB, free: 183.2 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=17): time 1.562e-06/6.855, allocations: 0 / 3.012 GB, free: 183.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=17): time 0.0007523/6.856, allocations: 290.4 kB / 3.012 GB, free: 183.1 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/6.856, allocations: 54.41 kB / 3.012 GB, free: 183 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/6.856, allocations: 320.4 kB / 3.012 GB, free: 182.8 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/6.856, allocations: 29.7 kB / 3.012 GB, free: 182.8 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/6.856, allocations: 185.6 kB / 3.012 GB, free: 182.7 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/6.856, allocations: 59.2 kB / 3.013 GB, free: 182.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-06/6.856, allocations: 4 kB / 3.013 GB, free: 182.6 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.085e-05/6.856, allocations: 343.6 kB / 3.013 GB, free: 182.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/6.856, allocations: 69.94 kB / 3.013 GB, free: 182.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/6.857, allocations: 137.2 kB / 3.013 GB, free: 182.2 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/6.857, allocations: 189.7 kB / 3.013 GB, free: 182.1 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/6.857, allocations: 0 / 3.013 GB, free: 182.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004262/6.857, allocations: 255.2 kB / 3.013 GB, free: 182 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/6.857, allocations: 15.12 kB / 3.013 GB, free: 182 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/6.857, allocations: 0 / 3.013 GB, free: 182 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/6.857, allocations: 7.531 kB / 3.013 GB, free: 182 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/6.858, allocations: 43.94 kB / 3.014 GB, free: 182 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/6.858, allocations: 3.844 kB / 3.014 GB, free: 182 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/6.858, allocations: 42.72 kB / 3.014 GB, free: 182 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.336e-05/6.858, allocations: 11 kB / 3.014 GB, free: 182 MB / 0.6667 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 (24): * Single equations (assignments): 24 * 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.000182/6.858, allocations: 152 kB / 3.014 GB, free: 181.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.496e-05/6.858, allocations: 36.61 kB / 3.014 GB, free: 181.8 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004804/6.859, allocations: 221.7 kB / 3.014 GB, free: 181.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/6.859, allocations: 3.281 kB / 3.014 GB, free: 181.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/6.859, allocations: 1.125 kB / 3.014 GB, free: 181.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/6.859, allocations: 3.797 kB / 3.014 GB, free: 181.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/6.86, allocations: 0.7004 MB / 3.015 GB, free: 181.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/6.86, allocations: 2.875 kB / 3.015 GB, free: 181.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/6.86, allocations: 34.53 kB / 3.015 GB, free: 181.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/6.86, allocations: 5.406 kB / 3.015 GB, free: 181.3 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/6.86, allocations: 10.69 kB / 3.015 GB, free: 181.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/6.86, allocations: 4.594 kB / 3.015 GB, free: 181.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/6.86, allocations: 0 / 3.015 GB, free: 181.3 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006289/6.861, allocations: 451.8 kB / 3.015 GB, free: 181 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/6.861, allocations: 127.4 kB / 3.015 GB, free: 180.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/6.861, allocations: 3.344 kB / 3.015 GB, free: 180.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/6.861, allocations: 25.09 kB / 3.015 GB, free: 180.9 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/6.861, allocations: 18.67 kB / 3.015 GB, free: 180.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/6.861, allocations: 10.69 kB / 3.015 GB, free: 180.8 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002059/6.861, allocations: 230.4 kB / 3.016 GB, free: 180.7 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/6.861, allocations: 0 / 3.016 GB, free: 180.7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006961/6.862, allocations: 173.5 kB / 3.016 GB, free: 180.7 MB / 0.6667 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 (17): * Single equations (assignments): 17 * 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.001495/6.864, allocations: 1.027 MB / 3.017 GB, free: 180.4 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004183/6.864, allocations: 181.6 kB / 3.017 GB, free: 180.4 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/6.864, allocations: 0 / 3.017 GB, free: 180.4 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/6.864, allocations: 96.61 kB / 3.017 GB, free: 180.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008928/6.865, allocations: 156 kB / 3.017 GB, free: 180.3 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009699/6.866, allocations: 0.7383 MB / 3.018 GB, free: 179.8 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/6.866, allocations: 0.7796 MB / 3.019 GB, free: 179.1 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000251/6.867, allocations: 59.59 kB / 3.019 GB, free: 179.1 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.021e-05/6.867, allocations: 32.5 kB / 3.019 GB, free: 179.1 MB / 0.6667 GB Notification: Performance of SimCode: time 3.61e-07/6.867, allocations: 3.938 kB / 3.019 GB, free: 179.1 MB / 0.6667 GB Notification: Performance of Templates: time 0.02346/6.89, allocations: 18.02 MB / 3.036 GB, free: 163.8 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1)