Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009476/0.0009476, allocations: 179.2 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4776/0.4776, allocations: 90.81 MB / 104.5 MB, free: 13.89 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 221.3 MB / 348.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000981/0.0009812, allocations: 102.8 kB / 421.2 MB, free: 5.684 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.875e-05/2.923e-05, allocations: 4 kB / 0.4896 GB, free: 46.63 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1379, allocations: 72.31 MB / 0.5602 GB, free: 6.422 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.05/4.188, allocations: 1.86 GB / 2.42 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/4.188, allocations: 87.95 kB / 2.42 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.7434/4.931, allocations: 246.8 MB / 2.661 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.083e-06/4.931, allocations: 0 / 2.661 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.998e-05/4.931, allocations: 8 kB / 2.661 GB, free: 10.91 MB / 0.6042 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.00105/4.933, allocations: 0.6267 MB / 2.661 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/4.933, allocations: 11.98 kB / 2.662 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/4.934, allocations: 155.4 kB / 2.662 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/4.934, allocations: 317.8 kB / 2.662 GB, free: 9.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/4.934, allocations: 20.39 kB / 2.662 GB, free: 9.711 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.959e-05/4.934, allocations: 24 kB / 2.662 GB, free: 9.688 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003402/4.935, allocations: 247.6 kB / 2.662 GB, free: 9.422 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/4.935, allocations: 4 kB / 2.662 GB, free: 9.418 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/4.935, allocations: 8 kB / 2.662 GB, free: 9.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/4.935, allocations: 11.98 kB / 2.662 GB, free: 9.398 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/4.935, allocations: 163.8 kB / 2.662 GB, free: 9.238 MB / 0.6042 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.001124/4.936, allocations: 1.198 MB / 2.664 GB, free: 7.938 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/4.936, allocations: 106.5 kB / 2.664 GB, free: 7.824 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.487e-05/4.936, allocations: 69.06 kB / 2.664 GB, free: 7.754 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004053/4.937, allocations: 311.2 kB / 2.664 GB, free: 7.395 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/4.937, allocations: 38.52 kB / 2.664 GB, free: 7.348 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.225e-06/4.937, allocations: 3.984 kB / 2.664 GB, free: 7.344 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0004381/4.937, allocations: 170.5 kB / 2.664 GB, free: 7.172 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/4.937, allocations: 55.41 kB / 2.664 GB, free: 7.105 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/4.938, allocations: 278.7 kB / 2.665 GB, free: 6.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/4.938, allocations: 29.7 kB / 2.665 GB, free: 6.785 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.089e-05/4.938, allocations: 180.1 kB / 2.665 GB, free: 6.605 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/4.938, allocations: 59.19 kB / 2.665 GB, free: 6.547 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/4.938, allocations: 4 kB / 2.665 GB, free: 6.543 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.769e-05/4.938, allocations: 338.8 kB / 2.665 GB, free: 6.203 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.988e-05/4.938, allocations: 48.36 kB / 2.665 GB, free: 6.156 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/4.938, allocations: 119.5 kB / 2.665 GB, free: 6.016 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/4.938, allocations: 63.97 kB / 2.665 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/4.938, allocations: 0 / 2.665 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002837/4.938, allocations: 199.9 kB / 2.666 GB, free: 5.754 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/4.938, allocations: 8 kB / 2.666 GB, free: 5.746 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/4.938, allocations: 0 / 2.666 GB, free: 5.746 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/4.938, allocations: 7.953 kB / 2.666 GB, free: 5.738 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/4.939, allocations: 47.91 kB / 2.666 GB, free: 5.691 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/4.939, allocations: 0 / 2.666 GB, free: 5.691 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/4.939, allocations: 43.77 kB / 2.666 GB, free: 5.648 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/4.939, allocations: 12 kB / 2.666 GB, free: 5.637 MB / 0.6042 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.714e-05/4.939, allocations: 112.9 kB / 2.666 GB, free: 5.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/4.939, allocations: 31.62 kB / 2.666 GB, free: 5.488 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/4.939, allocations: 182.5 kB / 2.666 GB, free: 5.309 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/4.939, allocations: 3.953 kB / 2.666 GB, free: 5.305 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/4.939, allocations: 0 / 2.666 GB, free: 5.305 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/4.939, allocations: 7.984 kB / 2.666 GB, free: 5.297 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007252/4.94, allocations: 0.6327 MB / 2.667 GB, free: 4.586 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/4.94, allocations: 4.219 kB / 2.667 GB, free: 4.582 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/4.94, allocations: 43.97 kB / 2.667 GB, free: 4.539 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/4.94, allocations: 0 / 2.667 GB, free: 4.539 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/4.94, allocations: 7.938 kB / 2.667 GB, free: 4.531 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/4.94, allocations: 7.938 kB / 2.667 GB, free: 4.523 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/4.94, allocations: 0 / 2.667 GB, free: 4.523 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/4.941, allocations: 461 kB / 2.667 GB, free: 3.992 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/4.941, allocations: 124.7 kB / 2.667 GB, free: 3.852 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/4.941, allocations: 4 kB / 2.667 GB, free: 3.848 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/4.941, allocations: 19.98 kB / 2.667 GB, free: 3.828 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/4.941, allocations: 20 kB / 2.667 GB, free: 3.809 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/4.941, allocations: 4 kB / 2.667 GB, free: 3.805 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001804/4.941, allocations: 222.2 kB / 2.667 GB, free: 3.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/4.941, allocations: 0 / 2.667 GB, free: 3.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006949/4.942, allocations: 175.8 kB / 2.668 GB, free: 3.418 MB / 0.6042 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.001552/4.944, allocations: 1.044 MB / 2.669 GB, free: 2.367 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002463/4.944, allocations: 131.8 kB / 2.669 GB, free: 2.238 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/4.944, allocations: 0 / 2.669 GB, free: 2.238 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.701e-05/4.944, allocations: 64.42 kB / 2.669 GB, free: 2.176 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007684/4.945, allocations: 162.4 kB / 2.669 GB, free: 2.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007113/4.946, allocations: 427.7 kB / 2.669 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/4.946, allocations: 0.7877 MB / 2.67 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002302/4.946, allocations: 67.02 kB / 2.67 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/4.946, allocations: 31.44 kB / 2.67 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of SimCode: time 3.9e-07/4.946, allocations: 0 / 2.67 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of Templates: time 0.3224/5.269, allocations: 20.67 MB / 2.69 GB, free: 151.1 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)