Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.103/2.103, allocations: 251.1 MB / 266.7 MB, free: 11.56 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.001414/0.001413, allocations: 184.8 kB / 326.2 MB, free: 2.848 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.399/2.399, allocations: 205.4 MB / 0.5772 GB, free: 21.13 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.0009938/0.0009936, allocations: 107.3 kB / 0.6817 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000674/0.0006742, allocations: 14.38 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2104, allocations: 106.3 MB / 0.8995 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.548/6.758, allocations: 2.179 GB / 3.079 GB, free: 8.246 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003687/6.759, allocations: 88.95 kB / 3.079 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.382/8.14, allocations: 235.2 MB / 3.309 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.164e-06/8.14, allocations: 0 / 3.309 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.494e-05/8.14, allocations: 8 kB / 3.309 GB, free: 139.3 MB / 0.8855 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.00154/8.142, allocations: 0.6896 MB / 3.309 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/8.142, allocations: 8.031 kB / 3.309 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/8.144, allocations: 148.4 kB / 3.309 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007278/8.144, allocations: 323.2 kB / 3.31 GB, free: 138 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/8.145, allocations: 17.38 kB / 3.31 GB, free: 138 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-05/8.145, allocations: 24 kB / 3.31 GB, free: 138 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000669/8.145, allocations: 275.5 kB / 3.31 GB, free: 137.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/8.145, allocations: 3.938 kB / 3.31 GB, free: 137.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/8.145, allocations: 15.94 kB / 3.31 GB, free: 137.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/8.145, allocations: 4 kB / 3.31 GB, free: 137.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000627/8.146, allocations: 199.8 kB / 3.31 GB, free: 137.5 MB / 0.8855 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.00182/8.148, allocations: 1.205 MB / 3.311 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/8.148, allocations: 130.5 kB / 3.312 GB, free: 136 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/8.149, allocations: 86.22 kB / 3.312 GB, free: 136 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006699/8.149, allocations: 307.2 kB / 3.312 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/8.149, allocations: 30.56 kB / 3.312 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 2.976e-06/8.149, allocations: 4 kB / 3.312 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.001123/8.15, allocations: 273.5 kB / 3.312 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/8.15, allocations: 55.41 kB / 3.312 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004281/8.151, allocations: 312.5 kB / 3.313 GB, free: 134.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/8.151, allocations: 33.64 kB / 3.313 GB, free: 134.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/8.151, allocations: 180.2 kB / 3.313 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.038e-05/8.151, allocations: 55.19 kB / 3.313 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/8.151, allocations: 4 kB / 3.313 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.153e-05/8.151, allocations: 334.8 kB / 3.313 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/8.151, allocations: 71.89 kB / 3.313 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/8.152, allocations: 140.2 kB / 3.313 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/8.152, allocations: 72.72 kB / 3.313 GB, free: 134 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/8.152, allocations: 4 kB / 3.313 GB, free: 134 MB / 0.8855 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006824/8.153, allocations: 236.2 kB / 3.314 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/8.153, allocations: 7.984 kB / 3.314 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/8.153, allocations: 4 kB / 3.314 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/8.153, allocations: 0 / 3.314 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/8.153, allocations: 47.92 kB / 3.314 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/8.153, allocations: 96 / 3.314 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004055/8.154, allocations: 51.66 kB / 3.314 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-05/8.154, allocations: 8 kB / 3.314 GB, free: 133.6 MB / 0.8855 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.0001863/8.154, allocations: 149.7 kB / 3.314 GB, free: 133.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/8.154, allocations: 31.62 kB / 3.314 GB, free: 133.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006812/8.155, allocations: 217.2 kB / 3.314 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/8.155, allocations: 0 / 3.314 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/8.155, allocations: 0 / 3.314 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/8.155, allocations: 3.984 kB / 3.314 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/8.156, allocations: 0.6756 MB / 3.315 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.301e-06/8.156, allocations: 4 kB / 3.315 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002963/8.156, allocations: 39.92 kB / 3.315 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/8.156, allocations: 3.938 kB / 3.315 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/8.157, allocations: 4 kB / 3.315 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/8.157, allocations: 4 kB / 3.315 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/8.157, allocations: 0 / 3.315 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009094/8.157, allocations: 438.9 kB / 3.315 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/8.158, allocations: 112.8 kB / 3.315 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.601e-05/8.158, allocations: 11.94 kB / 3.315 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/8.158, allocations: 24.03 kB / 3.315 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/8.158, allocations: 15.98 kB / 3.315 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/8.158, allocations: 8.062 kB / 3.315 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002822/8.158, allocations: 223.1 kB / 3.316 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.31e-07/8.158, allocations: 0 / 3.316 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0009535/8.159, allocations: 171.8 kB / 3.316 GB, free: 131.4 MB / 0.8855 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.001814/8.161, allocations: 1.038 MB / 3.317 GB, free: 130.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006849/8.162, allocations: 178.7 kB / 3.317 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/8.162, allocations: 0 / 3.317 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002903/8.162, allocations: 83.83 kB / 3.317 GB, free: 130.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/8.164, allocations: 162.8 kB / 3.317 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/8.165, allocations: 0.6966 MB / 3.318 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/8.165, allocations: 0.7758 MB / 3.319 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003815/8.166, allocations: 66.92 kB / 3.319 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.786e-05/8.166, allocations: 23.44 kB / 3.319 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.113e-06/8.166, allocations: 0 / 3.319 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.03837/8.204, allocations: 17.83 MB / 3.336 GB, free: 110.5 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)