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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7128/0.7128, allocations: 117.9 MB / 133.9 MB, free: 4.508 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.001099/0.001099, allocations: 188.1 kB / 161.7 MB, free: 2.73 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.35/2.35, allocations: 205.4 MB / 394.8 MB, free: 20.9 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.0009848/0.0009851, allocations: 92.58 kB / 470.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004272/0.0004273, allocations: 16 kB / 0.5423 GB, free: 6.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.4413, allocations: 74.53 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.095/5.537, allocations: 2.135 GB / 2.751 GB, free: 247.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003645/5.537, allocations: 91.42 kB / 2.751 GB, free: 247.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.4824/6.02, allocations: 241.7 MB / 2.987 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/6.02, allocations: 0 / 2.987 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.858e-05/6.02, allocations: 8 kB / 2.987 GB, free: 20.28 MB / 0.6355 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.001343/6.021, allocations: 0.6818 MB / 2.987 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/6.021, allocations: 11.97 kB / 2.987 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/6.022, allocations: 148.4 kB / 2.988 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/6.023, allocations: 319.2 kB / 2.988 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/6.023, allocations: 17.38 kB / 2.988 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/6.023, allocations: 23.91 kB / 2.988 GB, free: 19 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/6.023, allocations: 274.5 kB / 2.988 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/6.023, allocations: 0 / 2.988 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/6.023, allocations: 8 kB / 2.988 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/6.023, allocations: 4 kB / 2.988 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000365/6.024, allocations: 205.5 kB / 2.988 GB, free: 18.5 MB / 0.6355 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.001161/6.025, allocations: 1.043 MB / 2.989 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/6.025, allocations: 142.5 kB / 2.99 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/6.025, allocations: 92.75 kB / 2.99 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004277/6.026, allocations: 295.3 kB / 2.99 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/6.026, allocations: 34.56 kB / 2.99 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/6.026, allocations: 0 / 2.99 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0006767/6.026, allocations: 270.5 kB / 2.99 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/6.026, allocations: 55.41 kB / 2.99 GB, free: 16.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/6.027, allocations: 308.5 kB / 2.991 GB, free: 16.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/6.027, allocations: 33.7 kB / 2.991 GB, free: 16.05 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.5e-05/6.027, allocations: 187.9 kB / 2.991 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/6.027, allocations: 51.28 kB / 2.991 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-06/6.027, allocations: 4 kB / 2.991 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.39e-05/6.027, allocations: 342.8 kB / 2.991 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/6.027, allocations: 63.95 kB / 2.991 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/6.027, allocations: 128.9 kB / 2.991 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/6.028, allocations: 174.4 kB / 2.991 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/6.028, allocations: 0 / 2.991 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003867/6.028, allocations: 237.1 kB / 2.992 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/6.028, allocations: 9.719 kB / 2.992 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/6.028, allocations: 0 / 2.992 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/6.028, allocations: 4 kB / 2.992 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/6.028, allocations: 43.91 kB / 2.992 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/6.028, allocations: 0 / 2.992 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/6.028, allocations: 35.89 kB / 2.992 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/6.028, allocations: 8 kB / 2.992 GB, free: 14.73 MB / 0.6355 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 () * Number of clocked 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 0.0001434/6.029, allocations: 161.6 kB / 2.992 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/6.029, allocations: 31.62 kB / 2.992 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004114/6.029, allocations: 210.7 kB / 2.992 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/6.029, allocations: 3.984 kB / 2.992 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/6.029, allocations: 0 / 2.992 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/6.029, allocations: 0 / 2.992 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009396/6.03, allocations: 0.6475 MB / 2.993 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/6.03, allocations: 192 / 2.993 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/6.03, allocations: 43.91 kB / 2.993 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/6.03, allocations: 3.938 kB / 2.993 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/6.03, allocations: 8 kB / 2.993 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/6.03, allocations: 4 kB / 2.993 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/6.03, allocations: 0 / 2.993 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000519/6.031, allocations: 408.8 kB / 2.993 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-05/6.031, allocations: 112.7 kB / 2.993 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/6.031, allocations: 11.94 kB / 2.993 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/6.031, allocations: 19.98 kB / 2.993 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/6.031, allocations: 16.05 kB / 2.993 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/6.031, allocations: 8 kB / 2.993 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001955/6.031, allocations: 219 kB / 2.994 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.824e-06/6.031, allocations: 0 / 2.994 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008399/6.032, allocations: 175.8 kB / 2.994 GB, free: 12.54 MB / 0.6355 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 () * Number of clocked 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.001669/6.034, allocations: 1.042 MB / 2.995 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000411/6.034, allocations: 161.1 kB / 2.995 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/6.034, allocations: 0 / 2.995 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/6.035, allocations: 87.95 kB / 2.995 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009247/6.035, allocations: 164.6 kB / 2.995 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/6.037, allocations: 0.6844 MB / 2.996 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/6.037, allocations: 0.7719 MB / 2.997 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002268/6.037, allocations: 62.88 kB / 2.997 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.08e-05/6.037, allocations: 23.44 kB / 2.997 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of SimCode: time 5.81e-07/6.037, allocations: 0 / 2.997 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of Templates: time 0.3862/6.423, allocations: 17.99 MB / 3.014 GB, free: 169.7 MB / 0.6355 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)