Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) 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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.654/1.654, allocations: 292.3 MB / 308.1 MB, free: 4.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001342/0.001342, allocations: 186.2 kB / 376.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.1 MB / 0.6354 GB, free: 9.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001248/0.001248, allocations: 98.19 kB / 0.748 GB, free: 60.92 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 55.92 kB / 0.8704 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2673, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.7221/0.9894, allocations: 165.1 MB / 1.143 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003003/0.9925, allocations: 1.567 MB / 1.145 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003465/0.9929, allocations: 10.47 kB / 1.145 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0005125/0.9934, allocations: 120 kB / 1.145 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001775/0.9952, allocations: 0.6697 MB / 1.146 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.9968, allocations: 0.5376 MB / 1.146 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0009673/0.9978, allocations: 0.9782 MB / 1.147 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003209/0.9981, allocations: 197.2 kB / 1.147 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005516/0.9987, allocations: 319.1 kB / 1.148 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.999, allocations: 228.6 kB / 1.148 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/0.999, allocations: 15.59 kB / 1.148 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/1.001, allocations: 1.013 MB / 1.149 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001325/1.001, allocations: 103.2 kB / 1.149 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001728/1.001, allocations: 150.1 kB / 1.149 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/1.002, allocations: 0.7665 MB / 1.15 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.002, allocations: 4.938 kB / 1.15 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.082e-06/1.002, allocations: 0 / 1.15 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.58e-06/1.002, allocations: 0 / 1.15 GB, free: 10.87 MB / 0.7605 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.001053/1.003, allocations: 0.6525 MB / 1.151 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/1.003, allocations: 9.688 kB / 1.151 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/1.004, allocations: 155.6 kB / 1.151 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/1.005, allocations: 309.2 kB / 1.151 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/1.005, allocations: 14.06 kB / 1.151 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/1.005, allocations: 28.36 kB / 1.151 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004672/1.006, allocations: 274.9 kB / 1.151 GB, free: 9.879 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/1.006, allocations: 4.875 kB / 1.151 GB, free: 9.875 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/1.006, allocations: 7.406 kB / 1.151 GB, free: 9.871 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/1.006, allocations: 7.344 kB / 1.151 GB, free: 9.867 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003866/1.006, allocations: 194.3 kB / 1.152 GB, free: 9.812 MB / 0.7605 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.001378/1.007, allocations: 1.209 MB / 1.153 GB, free: 8.828 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/1.008, allocations: 140.3 kB / 1.153 GB, free: 8.762 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/1.008, allocations: 89.36 kB / 1.153 GB, free: 8.73 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006548/1.008, allocations: 304.2 kB / 1.153 GB, free: 8.441 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/1.009, allocations: 45.62 kB / 1.153 GB, free: 8.395 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/1.009, allocations: 0 / 1.153 GB, free: 8.395 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.0007591/1.009, allocations: 279.6 kB / 1.154 GB, free: 8.289 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/1.009, allocations: 55.41 kB / 1.154 GB, free: 8.223 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/1.01, allocations: 313.4 kB / 1.154 GB, free: 8.059 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/1.01, allocations: 36.7 kB / 1.154 GB, free: 8.02 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/1.01, allocations: 178.7 kB / 1.154 GB, free: 7.867 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.112e-05/1.01, allocations: 56.53 kB / 1.154 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.519e-05/1.01, allocations: 47.27 kB / 1.154 GB, free: 7.793 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.01, allocations: 335.5 kB / 1.155 GB, free: 7.469 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/1.01, allocations: 69.34 kB / 1.155 GB, free: 7.449 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/1.011, allocations: 131.7 kB / 1.155 GB, free: 7.367 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/1.011, allocations: 186.7 kB / 1.155 GB, free: 7.266 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.011, allocations: 0.8125 kB / 1.155 GB, free: 7.266 MB / 0.7605 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004525/1.011, allocations: 234.2 kB / 1.155 GB, free: 7.168 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/1.011, allocations: 9.969 kB / 1.155 GB, free: 7.168 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/1.011, allocations: 3.625 kB / 1.155 GB, free: 7.168 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/1.012, allocations: 0 / 1.155 GB, free: 7.168 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/1.012, allocations: 47.94 kB / 1.155 GB, free: 7.156 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/1.012, allocations: 7.328 kB / 1.155 GB, free: 7.156 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/1.012, allocations: 36.98 kB / 1.155 GB, free: 7.137 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/1.012, allocations: 6.344 kB / 1.155 GB, free: 7.137 MB / 0.7605 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001678/1.012, allocations: 152.8 kB / 1.155 GB, free: 7 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.147e-05/1.012, allocations: 33.11 kB / 1.155 GB, free: 6.984 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005545/1.013, allocations: 221.8 kB / 1.156 GB, free: 6.887 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/1.013, allocations: 3.469 kB / 1.156 GB, free: 6.887 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/1.013, allocations: 0 / 1.156 GB, free: 6.887 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.013, allocations: 0.5 kB / 1.156 GB, free: 6.887 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/1.014, allocations: 0.6745 MB / 1.156 GB, free: 6.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.014, allocations: 0 / 1.156 GB, free: 6.41 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/1.014, allocations: 36.77 kB / 1.156 GB, free: 6.406 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/1.014, allocations: 4.219 kB / 1.156 GB, free: 6.406 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/1.014, allocations: 15.06 kB / 1.156 GB, free: 6.395 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.014, allocations: 3.188 kB / 1.156 GB, free: 6.395 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.014, allocations: 6.969 kB / 1.156 GB, free: 6.391 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004648/1.019, allocations: 2.028 MB / 1.158 GB, free: 4.984 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/1.019, allocations: 124.3 kB / 1.158 GB, free: 4.867 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/1.019, allocations: 3.812 kB / 1.158 GB, free: 4.867 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/1.019, allocations: 26.06 kB / 1.158 GB, free: 4.852 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/1.019, allocations: 17.92 kB / 1.158 GB, free: 4.844 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/1.019, allocations: 7.406 kB / 1.158 GB, free: 4.844 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002566/1.02, allocations: 225.6 kB / 1.159 GB, free: 4.727 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.2e-07/1.02, allocations: 0 / 1.159 GB, free: 4.727 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005354/1.02, allocations: 99.66 kB / 1.159 GB, free: 4.723 MB / 0.7605 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005586/1.021, allocations: 171.5 kB / 1.159 GB, free: 4.609 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000451/1.021, allocations: 173.5 kB / 1.159 GB, free: 4.559 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.021, allocations: 192 / 1.159 GB, free: 4.559 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001698/1.021, allocations: 89.78 kB / 1.159 GB, free: 4.531 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009148/1.022, allocations: 162.5 kB / 1.159 GB, free: 4.492 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/1.024, allocations: 0.832 MB / 1.16 GB, free: 3.879 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/1.024, allocations: 0.7858 MB / 1.161 GB, free: 3.168 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000207/1.024, allocations: 64.11 kB / 1.161 GB, free: 3.16 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.194e-05/1.024, allocations: 24.06 kB / 1.161 GB, free: 3.152 MB / 0.7605 GB Notification: Performance of SimCode: time 2.3e-07/1.024, allocations: 6.75 kB / 1.161 GB, free: 3.148 MB / 0.7605 GB Notification: Performance of Templates: time 0.01024/1.035, allocations: 5.608 MB / 1.167 GB, free: 2.797 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)