Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7557/0.7557, allocations: 127.4 MB / 134.9 MB, free: 3.477 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 179.1 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.2 MB / 399.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008175/0.0008177, allocations: 82.48 kB / 476.7 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.928e-05/1.945e-05, allocations: 5.656 kB / 0.5466 GB, free: 95.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1407, allocations: 76.76 MB / 0.6215 GB, free: 43.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.001/4.141, allocations: 2.136 GB / 2.757 GB, free: 44.93 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/4.142, allocations: 88.45 kB / 2.757 GB, free: 44.84 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.8047/4.946, allocations: 238.9 MB / 2.991 GB, free: 71.74 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.545e-06/4.946, allocations: 0 / 2.991 GB, free: 71.74 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.727e-05/4.947, allocations: 7.984 kB / 2.991 GB, free: 71.73 MB / 0.6511 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.001254/4.948, allocations: 0.6344 MB / 2.991 GB, free: 71.05 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/4.948, allocations: 8.031 kB / 2.991 GB, free: 71.04 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/4.949, allocations: 152.7 kB / 2.991 GB, free: 70.89 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004643/4.95, allocations: 317.7 kB / 2.992 GB, free: 70.54 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/4.95, allocations: 8 kB / 2.992 GB, free: 70.54 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/4.95, allocations: 12 kB / 2.992 GB, free: 70.52 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002533/4.95, allocations: 148.8 kB / 2.992 GB, free: 70.38 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/4.95, allocations: 209.9 kB / 2.992 GB, free: 70.16 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/4.95, allocations: 0 / 2.992 GB, free: 70.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/4.95, allocations: 3.938 kB / 2.992 GB, free: 70.16 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/4.95, allocations: 8 kB / 2.992 GB, free: 70.15 MB / 0.6511 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.001112/4.951, allocations: 0.9769 MB / 2.993 GB, free: 69.09 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/4.952, allocations: 122.5 kB / 2.993 GB, free: 68.96 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.43e-05/4.952, allocations: 56.84 kB / 2.993 GB, free: 68.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004171/4.952, allocations: 303.2 kB / 2.993 GB, free: 68.55 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/4.952, allocations: 38.56 kB / 2.994 GB, free: 68.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/4.952, allocations: 0 / 2.994 GB, free: 68.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.0006388/4.953, allocations: 185.6 kB / 2.994 GB, free: 68.31 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.652e-05/4.953, allocations: 55.41 kB / 2.994 GB, free: 68.25 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/4.953, allocations: 202.1 kB / 2.994 GB, free: 68.04 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/4.953, allocations: 25.7 kB / 2.994 GB, free: 68.01 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/4.953, allocations: 188 kB / 2.994 GB, free: 67.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/4.953, allocations: 51.28 kB / 2.994 GB, free: 67.77 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/4.953, allocations: 0 / 2.994 GB, free: 67.77 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 5.667e-05/4.953, allocations: 330.8 kB / 2.995 GB, free: 67.44 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.833e-05/4.953, allocations: 48.3 kB / 2.995 GB, free: 67.39 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.57e-05/4.953, allocations: 99.67 kB / 2.995 GB, free: 67.27 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/4.954, allocations: 94.67 kB / 2.995 GB, free: 67.18 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/4.954, allocations: 0 / 2.995 GB, free: 67.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003365/4.954, allocations: 205.2 kB / 2.995 GB, free: 66.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/4.954, allocations: 7.938 kB / 2.995 GB, free: 66.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/4.954, allocations: 4.062 kB / 2.995 GB, free: 66.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/4.954, allocations: 7.984 kB / 2.995 GB, free: 66.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/4.954, allocations: 47.98 kB / 2.995 GB, free: 66.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/4.954, allocations: 0 / 2.995 GB, free: 66.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/4.954, allocations: 23.83 kB / 2.995 GB, free: 66.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/4.954, allocations: 8 kB / 2.995 GB, free: 66.88 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 5.879e-05/4.954, allocations: 112.9 kB / 2.995 GB, free: 66.76 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/4.955, allocations: 31.66 kB / 2.995 GB, free: 66.73 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003697/4.955, allocations: 187.5 kB / 2.995 GB, free: 66.54 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/4.955, allocations: 0 / 2.995 GB, free: 66.54 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/4.955, allocations: 3.938 kB / 2.995 GB, free: 66.54 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/4.955, allocations: 0 / 2.995 GB, free: 66.54 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007302/4.956, allocations: 0.5973 MB / 2.996 GB, free: 65.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/4.956, allocations: 4 kB / 2.996 GB, free: 65.87 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/4.956, allocations: 31.98 kB / 2.996 GB, free: 65.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/4.956, allocations: 4 kB / 2.996 GB, free: 65.84 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/4.956, allocations: 8.172 kB / 2.996 GB, free: 65.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/4.956, allocations: 7.938 kB / 2.996 GB, free: 65.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/4.956, allocations: 0 / 2.996 GB, free: 65.82 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004306/4.956, allocations: 442.7 kB / 2.996 GB, free: 65.32 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.331e-05/4.956, allocations: 104.8 kB / 2.997 GB, free: 65.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/4.956, allocations: 3.938 kB / 2.997 GB, free: 65.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/4.957, allocations: 20.05 kB / 2.997 GB, free: 65.17 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/4.957, allocations: 15.98 kB / 2.997 GB, free: 65.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/4.957, allocations: 4 kB / 2.997 GB, free: 65.15 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.585e-05/4.957, allocations: 162 kB / 2.997 GB, free: 64.99 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.71e-07/4.957, allocations: 0 / 2.997 GB, free: 64.99 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005307/4.957, allocations: 159.7 kB / 2.997 GB, free: 64.84 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 14 * 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.001334/4.959, allocations: 1.18 MB / 2.998 GB, free: 63.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002055/4.959, allocations: 121.2 kB / 2.998 GB, free: 63.53 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/4.959, allocations: 0 / 2.998 GB, free: 63.53 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.884e-05/4.959, allocations: 59.92 kB / 2.998 GB, free: 63.47 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006077/4.96, allocations: 104.9 kB / 2.998 GB, free: 63.37 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006158/4.96, allocations: 399.5 kB / 2.999 GB, free: 62.94 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/4.96, allocations: 0.7834 MB / 2.999 GB, free: 62.13 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001855/4.961, allocations: 49.97 kB / 2.999 GB, free: 62.08 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/4.961, allocations: 23.44 kB / 3 GB, free: 62.06 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/4.961, allocations: 0 / 3 GB, free: 62.06 MB / 0.6511 GB Notification: Performance of Templates: time 0.01411/4.975, allocations: 9.854 MB / 3.009 GB, free: 52.27 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)