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 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.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.7999/0.7999, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 188.5 kB / 187.3 MB, free: 11.89 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.476/1.476, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.0008992/0.0008992, allocations: 94.5 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00225/0.002249, allocations: 270.9 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.253e-05/4.257e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4974/0.4975, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.595/5.092, allocations: 1.867 GB / 2.631 GB, free: 140.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/5.093, allocations: 89.89 kB / 2.631 GB, free: 140.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9041/5.997, allocations: 246.9 MB / 2.872 GB, free: 179.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.042e-06/5.997, allocations: 0 / 2.872 GB, free: 179.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.495e-05/5.997, allocations: 4 kB / 2.872 GB, free: 179.4 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009434/5.998, allocations: 0.6307 MB / 2.873 GB, free: 178.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/5.998, allocations: 8.031 kB / 2.873 GB, free: 178.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/5.999, allocations: 155.3 kB / 2.873 GB, free: 178.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004384/5.999, allocations: 333.1 kB / 2.873 GB, free: 178.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/5.999, allocations: 20.56 kB / 2.873 GB, free: 178.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/5.999, allocations: 20 kB / 2.873 GB, free: 178.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/6, allocations: 257.9 kB / 2.874 GB, free: 177.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/6, allocations: 4 kB / 2.874 GB, free: 177.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/6, allocations: 12 kB / 2.874 GB, free: 177.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/6, allocations: 4.859 kB / 2.874 GB, free: 177.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002625/6, allocations: 165 kB / 2.874 GB, free: 177.7 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.001092/6.001, allocations: 1.228 MB / 2.875 GB, free: 176.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/6.001, allocations: 118.5 kB / 2.875 GB, free: 176.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.869e-05/6.001, allocations: 76.83 kB / 2.875 GB, free: 176.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004085/6.002, allocations: 299.3 kB / 2.875 GB, free: 175.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/6.002, allocations: 30.56 kB / 2.875 GB, free: 175.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/6.002, allocations: 3.938 kB / 2.875 GB, free: 175.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=17): time 0.000421/6.002, allocations: 186.1 kB / 2.876 GB, free: 175.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/6.002, allocations: 55.41 kB / 2.876 GB, free: 175.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/6.003, allocations: 294.6 kB / 2.876 GB, free: 175.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/6.003, allocations: 29.7 kB / 2.876 GB, free: 175.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/6.003, allocations: 176.2 kB / 2.876 GB, free: 175 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/6.003, allocations: 66.38 kB / 2.876 GB, free: 174.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/6.003, allocations: 8 kB / 2.876 GB, free: 174.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.825e-05/6.003, allocations: 334.8 kB / 2.877 GB, free: 174.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.993e-05/6.003, allocations: 51.98 kB / 2.877 GB, free: 174.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/6.003, allocations: 124.4 kB / 2.877 GB, free: 174.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.784e-05/6.003, allocations: 68.98 kB / 2.877 GB, free: 174.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/6.003, allocations: 0 / 2.877 GB, free: 174.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002606/6.003, allocations: 205.2 kB / 2.877 GB, free: 174.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/6.003, allocations: 13.19 kB / 2.877 GB, free: 174.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/6.003, allocations: 0 / 2.877 GB, free: 174.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/6.003, allocations: 4 kB / 2.877 GB, free: 174.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/6.004, allocations: 43.97 kB / 2.877 GB, free: 174.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/6.004, allocations: 7.938 kB / 2.877 GB, free: 174.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/6.004, allocations: 39.67 kB / 2.877 GB, free: 174 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/6.004, allocations: 19.98 kB / 2.877 GB, free: 174 MB / 0.698 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 () * 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 7.6e-05/6.004, allocations: 112.9 kB / 2.877 GB, free: 173.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/6.004, allocations: 31.62 kB / 2.877 GB, free: 173.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/6.004, allocations: 197.9 kB / 2.877 GB, free: 173.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/6.004, allocations: 4 kB / 2.877 GB, free: 173.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/6.004, allocations: 96 / 2.877 GB, free: 173.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/6.004, allocations: 3.984 kB / 2.877 GB, free: 173.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000683/6.005, allocations: 0.6599 MB / 2.878 GB, free: 172.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/6.005, allocations: 4 kB / 2.878 GB, free: 172.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/6.005, allocations: 36.2 kB / 2.878 GB, free: 172.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/6.005, allocations: 4 kB / 2.878 GB, free: 172.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/6.005, allocations: 11.98 kB / 2.878 GB, free: 172.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/6.005, allocations: 3.938 kB / 2.878 GB, free: 172.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/6.005, allocations: 4 kB / 2.878 GB, free: 172.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/6.006, allocations: 481 kB / 2.879 GB, free: 172.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.662e-05/6.006, allocations: 128.6 kB / 2.879 GB, free: 172.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/6.006, allocations: 4 kB / 2.879 GB, free: 172.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/6.006, allocations: 23.94 kB / 2.879 GB, free: 172.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/6.006, allocations: 20.05 kB / 2.879 GB, free: 172.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/6.006, allocations: 7.984 kB / 2.879 GB, free: 172.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001549/6.006, allocations: 222.2 kB / 2.879 GB, free: 171.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.006, allocations: 0 / 2.879 GB, free: 171.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005978/6.007, allocations: 175.9 kB / 2.879 GB, free: 171.7 MB / 0.698 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 () * 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.001215/6.008, allocations: 1.049 MB / 2.88 GB, free: 170.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002304/6.008, allocations: 135.8 kB / 2.88 GB, free: 170.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/6.008, allocations: 4 kB / 2.88 GB, free: 170.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.621e-05/6.008, allocations: 71.86 kB / 2.88 GB, free: 170.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000727/6.009, allocations: 155.2 kB / 2.881 GB, free: 170.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/6.01, allocations: 448.8 kB / 2.881 GB, free: 169.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/6.01, allocations: 0.7883 MB / 2.882 GB, free: 169 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001898/6.01, allocations: 66.92 kB / 2.882 GB, free: 168.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/6.01, allocations: 27.44 kB / 2.882 GB, free: 168.9 MB / 0.698 GB Notification: Performance of SimCode: time 5.31e-07/6.01, allocations: 0 / 2.882 GB, free: 168.9 MB / 0.698 GB Notification: Performance of Templates: time 0.0238/6.034, allocations: 20.75 MB / 2.902 GB, free: 148.2 MB / 0.698 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)