Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001282/0.001282, allocations: 187.4 kB / 327.3 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.4 MB / 0.5783 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009562/0.0009563, allocations: 90.25 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003565, allocations: 15.75 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2493, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1892/0.4386, allocations: 152.2 MB / 1.049 GB, free: 7.285 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003625/0.4423, allocations: 1.531 MB / 1.051 GB, free: 5.754 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006089/0.443, allocations: 15.88 kB / 1.051 GB, free: 5.738 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007277/0.4437, allocations: 99.22 kB / 1.051 GB, free: 5.641 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.4458, allocations: 0.5014 MB / 1.052 GB, free: 5.137 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.4476, allocations: 461.1 kB / 1.052 GB, free: 4.688 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001324/0.449, allocations: 0.8298 MB / 1.053 GB, free: 3.855 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005145/0.4495, allocations: 173.2 kB / 1.053 GB, free: 3.688 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008496/0.4504, allocations: 302.8 kB / 1.053 GB, free: 3.391 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004799/0.4509, allocations: 211.2 kB / 1.053 GB, free: 3.184 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.147e-05/0.451, allocations: 12 kB / 1.053 GB, free: 3.172 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.4524, allocations: 470.8 kB / 1.054 GB, free: 2.711 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.4526, allocations: 99.67 kB / 1.054 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.4528, allocations: 85.58 kB / 1.054 GB, free: 2.523 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008892/0.4537, allocations: 435.3 kB / 1.054 GB, free: 2.098 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4537, allocations: 0 / 1.054 GB, free: 2.098 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.414e-06/0.4537, allocations: 0 / 1.054 GB, free: 2.098 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.4537, allocations: 0 / 1.054 GB, free: 2.098 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.001242/0.455, allocations: 0.6038 MB / 1.055 GB, free: 1.441 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.455, allocations: 8.031 kB / 1.055 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.4563, allocations: 167.3 kB / 1.055 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005517/0.4568, allocations: 293.9 kB / 1.056 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.4569, allocations: 20.44 kB / 1.056 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.977e-05/0.457, allocations: 16 kB / 1.056 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005907/0.4576, allocations: 287.5 kB / 1.056 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.4576, allocations: 0 / 1.056 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.4576, allocations: 12 kB / 1.056 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.4576, allocations: 4 kB / 1.056 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004705/0.4581, allocations: 207.8 kB / 1.056 GB, free: 396 kB / 0.698 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.556/1.014, allocations: 1.213 MB / 1.057 GB, free: 157 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/1.015, allocations: 138.6 kB / 1.057 GB, free: 157 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/1.015, allocations: 92.83 kB / 1.057 GB, free: 157 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006469/1.015, allocations: 320.1 kB / 1.058 GB, free: 156.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/1.015, allocations: 34.64 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 3.066e-06/1.015, allocations: 1.5 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0009025/1.016, allocations: 302.4 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/1.016, allocations: 52.02 kB / 1.058 GB, free: 156.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/1.017, allocations: 308.4 kB / 1.058 GB, free: 156.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/1.017, allocations: 33.95 kB / 1.058 GB, free: 156.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/1.017, allocations: 184.3 kB / 1.059 GB, free: 156.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/1.017, allocations: 50.78 kB / 1.059 GB, free: 156.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-06/1.017, allocations: 2.875 kB / 1.059 GB, free: 156.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.722e-05/1.017, allocations: 339.8 kB / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/1.017, allocations: 71.08 kB / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/1.017, allocations: 129.7 kB / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/1.018, allocations: 85.19 kB / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.018, allocations: 0 / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004318/1.018, allocations: 253.8 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/1.018, allocations: 5.812 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.018, allocations: 2.594 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/1.018, allocations: 6.484 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/1.018, allocations: 48.5 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/1.018, allocations: 3 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/1.019, allocations: 43.5 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/1.019, allocations: 8.406 kB / 1.06 GB, free: 155.8 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 () * 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.0001333/1.019, allocations: 149.8 kB / 1.06 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/1.019, allocations: 25.25 kB / 1.06 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004618/1.019, allocations: 236.2 kB / 1.06 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/1.019, allocations: 4.891 kB / 1.06 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.019, allocations: 2.656 kB / 1.06 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.019, allocations: 6.031 kB / 1.06 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009273/1.02, allocations: 0.6865 MB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.02, allocations: 0 / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/1.02, allocations: 41.06 kB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/1.02, allocations: 2.906 kB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/1.02, allocations: 6.438 kB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/1.02, allocations: 3.125 kB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.021, allocations: 5.344 kB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006814/1.021, allocations: 452.2 kB / 1.061 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/1.021, allocations: 125.4 kB / 1.061 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/1.021, allocations: 6.031 kB / 1.061 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/1.022, allocations: 18.69 kB / 1.061 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.639e-05/1.022, allocations: 13.2 kB / 1.061 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/1.022, allocations: 12.7 kB / 1.061 GB, free: 155 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002283/1.022, allocations: 222.1 kB / 1.062 GB, free: 154.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.022, allocations: 2.406 kB / 1.062 GB, free: 154.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004339/1.022, allocations: 78.22 kB / 1.062 GB, free: 154.9 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 () * 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.0004637/1.023, allocations: 171.8 kB / 1.062 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004282/1.023, allocations: 179.5 kB / 1.062 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.023, allocations: 0 / 1.062 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/1.023, allocations: 91.41 kB / 1.062 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000943/1.024, allocations: 172.4 kB / 1.062 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/1.026, allocations: 0.7282 MB / 1.063 GB, free: 154.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/1.026, allocations: 0.7763 MB / 1.064 GB, free: 153.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.358e-05/1.026, allocations: 29.89 kB / 1.064 GB, free: 153.6 MB / 0.698 GB Notification: Performance of SimCode: time 4.51e-07/1.026, allocations: 0 / 1.064 GB, free: 153.6 MB / 0.698 GB Notification: Performance of Templates: time 0.01099/1.037, allocations: 4.773 MB / 1.068 GB, free: 153.2 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)