Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8414/0.8414, allocations: 140.1 MB / 156 MB, free: 5.172 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.001035/0.001035, allocations: 186 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.4 MB / 426.3 MB, free: 8.469 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.0008583/0.0008582, allocations: 90.3 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001812/0.001812, allocations: 274 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004814/0.0004815, allocations: 20 kB / 0.662 GB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5048/0.5053, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.427/5.933, allocations: 2.031 GB / 2.771 GB, free: 179.4 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003677/5.933, allocations: 91.8 kB / 2.771 GB, free: 179.3 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.043/6.976, allocations: 242.8 MB / 3.008 GB, free: 185.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.354e-06/6.977, allocations: 0 / 3.008 GB, free: 185.5 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.988e-05/6.977, allocations: 14.94 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001476/6.978, allocations: 0.6797 MB / 3.009 GB, free: 185 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/6.978, allocations: 11.44 kB / 3.009 GB, free: 185 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/6.979, allocations: 146.1 kB / 3.009 GB, free: 185 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005995/6.98, allocations: 323.9 kB / 3.009 GB, free: 184.8 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/6.98, allocations: 21.38 kB / 3.009 GB, free: 184.8 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.035e-05/6.98, allocations: 23.28 kB / 3.009 GB, free: 184.8 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/6.981, allocations: 276.5 kB / 3.009 GB, free: 184.6 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/6.981, allocations: 0 / 3.009 GB, free: 184.6 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/6.981, allocations: 15.08 kB / 3.009 GB, free: 184.6 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/6.981, allocations: 7.281 kB / 3.009 GB, free: 184.6 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003959/6.981, allocations: 193.9 kB / 3.01 GB, free: 184.6 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.001432/6.983, allocations: 1.216 MB / 3.011 GB, free: 183.6 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/6.983, allocations: 124.6 kB / 3.011 GB, free: 183.6 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/6.983, allocations: 82.88 kB / 3.011 GB, free: 183.5 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004461/6.983, allocations: 304.8 kB / 3.011 GB, free: 183.2 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/6.983, allocations: 37.22 kB / 3.011 GB, free: 183.2 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=15): time 2.735e-06/6.983, allocations: 0 / 3.011 GB, free: 183.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15): time 0.0006954/6.984, allocations: 277.8 kB / 3.012 GB, free: 183.1 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/6.984, allocations: 62.66 kB / 3.012 GB, free: 183 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/6.984, allocations: 307.9 kB / 3.012 GB, free: 182.9 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/6.985, allocations: 29.7 kB / 3.012 GB, free: 182.8 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 9.458e-05/6.985, allocations: 184.8 kB / 3.012 GB, free: 182.7 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/6.985, allocations: 54.61 kB / 3.012 GB, free: 182.7 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/6.985, allocations: 0 / 3.012 GB, free: 182.7 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.376e-05/6.985, allocations: 340.2 kB / 3.012 GB, free: 182.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/6.985, allocations: 67.91 kB / 3.013 GB, free: 182.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/6.985, allocations: 142.1 kB / 3.013 GB, free: 182.2 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/6.985, allocations: 189.8 kB / 3.013 GB, free: 182.1 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/6.985, allocations: 0 / 3.013 GB, free: 182.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004047/6.986, allocations: 234.9 kB / 3.013 GB, free: 182 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/6.986, allocations: 6.062 kB / 3.013 GB, free: 182 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/6.986, allocations: 3.938 kB / 3.013 GB, free: 182 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/6.986, allocations: 64 / 3.013 GB, free: 182 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/6.986, allocations: 49.5 kB / 3.013 GB, free: 182 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/6.986, allocations: 3.688 kB / 3.013 GB, free: 182 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/6.986, allocations: 39.45 kB / 3.013 GB, free: 182 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/6.986, allocations: 13.94 kB / 3.013 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 (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.0001377/6.986, allocations: 156.9 kB / 3.013 GB, free: 181.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.443e-05/6.987, allocations: 28.75 kB / 3.013 GB, free: 181.9 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004093/6.987, allocations: 216.2 kB / 3.014 GB, free: 181.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/6.987, allocations: 0 / 3.014 GB, free: 181.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/6.987, allocations: 0 / 3.014 GB, free: 181.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/6.987, allocations: 0 / 3.014 GB, free: 181.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008913/6.988, allocations: 0.6784 MB / 3.014 GB, free: 181.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/6.988, allocations: 3.469 kB / 3.014 GB, free: 181.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/6.988, allocations: 36.33 kB / 3.014 GB, free: 181.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/6.988, allocations: 3.906 kB / 3.014 GB, free: 181.3 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/6.988, allocations: 11.84 kB / 3.014 GB, free: 181.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/6.988, allocations: 6.219 kB / 3.014 GB, free: 181.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/6.988, allocations: 3.75 kB / 3.014 GB, free: 181.3 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005153/6.989, allocations: 418.6 kB / 3.015 GB, free: 181.1 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/6.989, allocations: 120.5 kB / 3.015 GB, free: 180.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/6.989, allocations: 10.75 kB / 3.015 GB, free: 180.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/6.989, allocations: 24.19 kB / 3.015 GB, free: 180.9 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/6.989, allocations: 10.73 kB / 3.015 GB, free: 180.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/6.989, allocations: 11.41 kB / 3.015 GB, free: 180.9 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001693/6.989, allocations: 221 kB / 3.015 GB, free: 180.8 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.2e-07/6.989, allocations: 3.938 kB / 3.015 GB, free: 180.8 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007103/6.99, allocations: 173.6 kB / 3.015 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 (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.001286/6.991, allocations: 1.044 MB / 3.016 GB, free: 180.5 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000393/6.992, allocations: 165.5 kB / 3.016 GB, free: 180.4 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/6.992, allocations: 5.938 kB / 3.016 GB, free: 180.4 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/6.992, allocations: 85.98 kB / 3.017 GB, free: 180.4 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008797/6.993, allocations: 161.8 kB / 3.017 GB, free: 180.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008808/6.994, allocations: 0.694 MB / 3.017 GB, free: 179.9 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/6.994, allocations: 0.7784 MB / 3.018 GB, free: 179.2 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000214/6.994, allocations: 57.77 kB / 3.018 GB, free: 179.2 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.618e-05/6.994, allocations: 26.94 kB / 3.018 GB, free: 179.2 MB / 0.6667 GB Notification: Performance of SimCode: time 3.91e-07/6.994, allocations: 0 / 3.018 GB, free: 179.2 MB / 0.6667 GB Notification: Performance of Templates: time 0.02178/7.016, allocations: 17.95 MB / 3.036 GB, free: 164.8 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)