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 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.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.813/0.813, allocations: 141.8 MB / 149.3 MB, free: 9.234 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001066, allocations: 183.8 kB / 182.2 MB, free: 9.473 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.347/1.347, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.0009676/0.0009676, allocations: 84.12 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001703/0.001703, allocations: 274.3 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.201e-05, allocations: 8 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4001, allocations: 82.78 MB / 0.7574 GB, free: 32.05 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.173/4.573, allocations: 1.866 GB / 2.623 GB, free: 154.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/4.573, allocations: 94.62 kB / 2.623 GB, free: 154 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8292/5.402, allocations: 243.7 MB / 2.861 GB, free: 197.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.794e-06/5.402, allocations: 3.281 kB / 2.861 GB, free: 197.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.461e-05/5.402, allocations: 16 kB / 2.861 GB, free: 197.7 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001191/5.404, allocations: 0.6246 MB / 2.862 GB, free: 197.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/5.404, allocations: 8.031 kB / 2.862 GB, free: 197.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/5.405, allocations: 159.4 kB / 2.862 GB, free: 196.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/5.405, allocations: 316.8 kB / 2.862 GB, free: 196.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/5.405, allocations: 8 kB / 2.862 GB, free: 196.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/5.405, allocations: 16 kB / 2.862 GB, free: 196.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002609/5.406, allocations: 144.8 kB / 2.863 GB, free: 196.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/5.406, allocations: 223.9 kB / 2.863 GB, free: 196.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/5.406, allocations: 0 / 2.863 GB, free: 196.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/5.406, allocations: 0 / 2.863 GB, free: 196.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/5.406, allocations: 8 kB / 2.863 GB, free: 196.2 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.001217/5.407, allocations: 1.148 MB / 2.864 GB, free: 195 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/5.408, allocations: 105.4 kB / 2.864 GB, free: 194.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.879e-05/5.408, allocations: 64.83 kB / 2.864 GB, free: 194.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004399/5.408, allocations: 298.7 kB / 2.864 GB, free: 194.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/5.408, allocations: 38.56 kB / 2.864 GB, free: 194.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/5.408, allocations: 0 / 2.864 GB, free: 194.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0006086/5.409, allocations: 193.2 kB / 2.865 GB, free: 194.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/5.409, allocations: 55.69 kB / 2.865 GB, free: 194.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/5.409, allocations: 214.2 kB / 2.865 GB, free: 193.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/5.409, allocations: 25.7 kB / 2.865 GB, free: 193.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.412e-05/5.409, allocations: 184.1 kB / 2.865 GB, free: 193.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/5.409, allocations: 55.14 kB / 2.865 GB, free: 193.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-06/5.409, allocations: 0 / 2.865 GB, free: 193.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.99e-05/5.409, allocations: 334.8 kB / 2.865 GB, free: 193.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.9e-05/5.409, allocations: 40.36 kB / 2.865 GB, free: 193.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/5.409, allocations: 103.4 kB / 2.866 GB, free: 193.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/5.41, allocations: 101 kB / 2.866 GB, free: 193 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/5.41, allocations: 0 / 2.866 GB, free: 193 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003706/5.41, allocations: 209.2 kB / 2.866 GB, free: 192.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/5.41, allocations: 8 kB / 2.866 GB, free: 192.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/5.41, allocations: 3.984 kB / 2.866 GB, free: 192.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/5.41, allocations: 4 kB / 2.866 GB, free: 192.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/5.41, allocations: 48.02 kB / 2.866 GB, free: 192.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/5.41, allocations: 4 kB / 2.866 GB, free: 192.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/5.411, allocations: 23.83 kB / 2.866 GB, free: 192.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/5.411, allocations: 11.98 kB / 2.866 GB, free: 192.7 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 (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 6.813e-05/5.411, allocations: 116.8 kB / 2.866 GB, free: 192.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/5.411, allocations: 27.67 kB / 2.866 GB, free: 192.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004305/5.411, allocations: 188.2 kB / 2.866 GB, free: 192.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/5.411, allocations: 4 kB / 2.866 GB, free: 192.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/5.411, allocations: 96 / 2.866 GB, free: 192.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/5.411, allocations: 7.969 kB / 2.866 GB, free: 192.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008474/5.412, allocations: 0.6135 MB / 2.867 GB, free: 191.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/5.412, allocations: 4 kB / 2.867 GB, free: 191.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/5.412, allocations: 35.91 kB / 2.867 GB, free: 191.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/5.412, allocations: 4 kB / 2.867 GB, free: 191.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/5.412, allocations: 4.219 kB / 2.867 GB, free: 191.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/5.412, allocations: 4 kB / 2.867 GB, free: 191.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/5.412, allocations: 4 kB / 2.867 GB, free: 191.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/5.413, allocations: 467.5 kB / 2.867 GB, free: 191.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/5.413, allocations: 124.8 kB / 2.868 GB, free: 191 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/5.413, allocations: 4 kB / 2.868 GB, free: 191 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/5.413, allocations: 15.98 kB / 2.868 GB, free: 191 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.057e-05/5.413, allocations: 15.88 kB / 2.868 GB, free: 190.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/5.413, allocations: 12 kB / 2.868 GB, free: 190.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001711/5.414, allocations: 162 kB / 2.868 GB, free: 190.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.41e-07/5.414, allocations: 0 / 2.868 GB, free: 190.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000994/5.415, allocations: 145.9 kB / 2.868 GB, free: 190.6 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 (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.002126/5.417, allocations: 1.18 MB / 2.869 GB, free: 189.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003835/5.417, allocations: 123.8 kB / 2.869 GB, free: 189.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/5.417, allocations: 4.188 kB / 2.869 GB, free: 189.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/5.417, allocations: 59.92 kB / 2.869 GB, free: 189.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/5.418, allocations: 112 kB / 2.869 GB, free: 189.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/5.419, allocations: 407.9 kB / 2.87 GB, free: 188.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/5.42, allocations: 0.7835 MB / 2.87 GB, free: 188 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003077/5.42, allocations: 54.02 kB / 2.87 GB, free: 188 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.583e-05/5.42, allocations: 23.44 kB / 2.871 GB, free: 188 MB / 0.698 GB Notification: Performance of SimCode: time 4.4e-07/5.42, allocations: 0 / 2.871 GB, free: 188 MB / 0.698 GB Notification: Performance of Templates: time 0.02305/5.443, allocations: 9.81 MB / 2.88 GB, free: 178.2 MB / 0.698 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)