Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.749/1.749, allocations: 288.4 MB / 303.4 MB, free: 8.055 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.001001/0.001001, allocations: 176.5 kB / 372 MB, free: 10.22 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.414/1.414, allocations: 205.4 MB / 0.6307 GB, free: 9.891 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007313/0.0007312, allocations: 88.89 kB / 0.7441 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004307/0.0004308, allocations: 13.44 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.236, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.7508/0.9868, allocations: 152 MB / 1.128 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002993/0.9899, allocations: 1.473 MB / 1.129 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002793/0.9902, allocations: 10.28 kB / 1.129 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004805/0.9907, allocations: 111 kB / 1.13 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.9923, allocations: 0.5032 MB / 1.13 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.994, allocations: 461.6 kB / 1.131 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0011/0.9951, allocations: 0.825 MB / 1.131 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.9955, allocations: 183.2 kB / 1.132 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006164/0.9961, allocations: 299.2 kB / 1.132 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003023/0.9964, allocations: 220.8 kB / 1.132 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.188e-05/0.9965, allocations: 10.78 kB / 1.132 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.9976, allocations: 467.5 kB / 1.132 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.9978, allocations: 92.77 kB / 1.133 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.9979, allocations: 87.23 kB / 1.133 GB, free: 16.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006158/0.9986, allocations: 445.2 kB / 1.133 GB, free: 16.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.9986, allocations: 0 / 1.133 GB, free: 16.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.975e-06/0.9986, allocations: 0 / 1.133 GB, free: 16.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.9986, allocations: 0 / 1.133 GB, free: 16.68 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.001045/0.9996, allocations: 0.5972 MB / 1.134 GB, free: 16.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.9997, allocations: 8.719 kB / 1.134 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/1.001, allocations: 164.2 kB / 1.134 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/1.001, allocations: 297.4 kB / 1.134 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/1.001, allocations: 16.22 kB / 1.134 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.7e-05/1.001, allocations: 23.59 kB / 1.134 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000503/1.002, allocations: 279 kB / 1.134 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/1.002, allocations: 1.969 kB / 1.134 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/1.002, allocations: 9.281 kB / 1.134 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/1.002, allocations: 8.047 kB / 1.134 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004101/1.002, allocations: 212.4 kB / 1.135 GB, free: 15.85 MB / 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.001495/1.004, allocations: 1.218 MB / 1.136 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/1.004, allocations: 143.3 kB / 1.136 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/1.004, allocations: 95.45 kB / 1.136 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006042/1.005, allocations: 314.6 kB / 1.136 GB, free: 14.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/1.005, allocations: 36.28 kB / 1.136 GB, free: 14.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/1.005, allocations: 0 / 1.136 GB, free: 14.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0007492/1.006, allocations: 295.3 kB / 1.137 GB, free: 14.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/1.006, allocations: 58.34 kB / 1.137 GB, free: 14.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/1.006, allocations: 315 kB / 1.137 GB, free: 14.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/1.006, allocations: 27.83 kB / 1.137 GB, free: 14.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/1.006, allocations: 177.2 kB / 1.137 GB, free: 14.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/1.006, allocations: 56.81 kB / 1.137 GB, free: 14.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-06/1.006, allocations: 3.562 kB / 1.137 GB, free: 14.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.006, allocations: 345 kB / 1.138 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/1.007, allocations: 73.36 kB / 1.138 GB, free: 13.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/1.007, allocations: 125 kB / 1.138 GB, free: 13.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/1.007, allocations: 88.23 kB / 1.138 GB, free: 13.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.007, allocations: 0 / 1.138 GB, free: 13.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005104/1.008, allocations: 256.4 kB / 1.138 GB, free: 13.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/1.008, allocations: 6.594 kB / 1.138 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/1.008, allocations: 2.391 kB / 1.138 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/1.008, allocations: 3.094 kB / 1.138 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/1.008, allocations: 43.28 kB / 1.138 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/1.008, allocations: 1 kB / 1.138 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/1.008, allocations: 35.03 kB / 1.138 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/1.008, allocations: 13.42 kB / 1.138 GB, free: 13.78 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.0001745/1.008, allocations: 152.1 kB / 1.138 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/1.008, allocations: 28.97 kB / 1.138 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005283/1.009, allocations: 235.5 kB / 1.139 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/1.009, allocations: 0 / 1.139 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/1.009, allocations: 3.406 kB / 1.139 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/1.009, allocations: 1.75 kB / 1.139 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/1.01, allocations: 0.6923 MB / 1.139 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.01, allocations: 2.031 kB / 1.139 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/1.01, allocations: 41.98 kB / 1.139 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/1.01, allocations: 2.781 kB / 1.139 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/1.01, allocations: 6.906 kB / 1.139 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/1.01, allocations: 6.703 kB / 1.139 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.01, allocations: 2.562 kB / 1.139 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007454/1.011, allocations: 449.2 kB / 1.14 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/1.011, allocations: 129.5 kB / 1.14 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/1.011, allocations: 4.812 kB / 1.14 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/1.011, allocations: 20.72 kB / 1.14 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/1.011, allocations: 25.89 kB / 1.14 GB, free: 12.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/1.012, allocations: 6.719 kB / 1.14 GB, free: 12.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002439/1.012, allocations: 225.2 kB / 1.14 GB, free: 12.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.012, allocations: 0 / 1.14 GB, free: 12.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003897/1.012, allocations: 76.08 kB / 1.14 GB, free: 12.77 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.0004257/1.013, allocations: 161.7 kB / 1.14 GB, free: 12.67 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004263/1.013, allocations: 182.2 kB / 1.141 GB, free: 12.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.013, allocations: 192 / 1.141 GB, free: 12.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001841/1.013, allocations: 96.39 kB / 1.141 GB, free: 12.65 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008669/1.014, allocations: 155.5 kB / 1.141 GB, free: 12.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/1.015, allocations: 0.7136 MB / 1.142 GB, free: 12.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/1.016, allocations: 0.7747 MB / 1.142 GB, free: 11.47 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002277/1.016, allocations: 64.72 kB / 1.142 GB, free: 11.45 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.775e-05/1.016, allocations: 25.16 kB / 1.142 GB, free: 11.43 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/1.016, allocations: 2.375 kB / 1.142 GB, free: 11.43 MB / 0.698 GB Notification: Performance of Templates: time 0.0122/1.028, allocations: 5.274 MB / 1.147 GB, free: 8.836 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)