Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.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.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7872/0.7872, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 176.8 kB / 169.7 MB, free: 1.738 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.624/1.624, allocations: 205.1 MB / 404.5 MB, free: 1.59 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.0008897/0.0008898, allocations: 94.27 kB / 481.8 MB, free: 4.234 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.005e-05/3.035e-05, allocations: 0 / 0.5532 GB, free: 54.85 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1547, allocations: 76.76 MB / 0.6282 GB, free: 10.04 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.482/5.637, allocations: 2.191 GB / 2.819 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/5.637, allocations: 91.95 kB / 2.819 GB, free: 130 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.692/11.33, allocations: 1.634 GB / 4.453 GB, free: 18.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.693e-06/11.33, allocations: 4 kB / 4.453 GB, free: 18.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002753/11.33, allocations: 59.98 kB / 4.453 GB, free: 18.32 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.007291/11.34, allocations: 2.497 MB / 4.455 GB, free: 15.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/11.34, allocations: 8.031 kB / 4.455 GB, free: 15.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00641/11.34, allocations: 0.8904 MB / 4.456 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007042/11.35, allocations: 2.701 MB / 4.459 GB, free: 12.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-05/11.35, allocations: 122.6 kB / 4.459 GB, free: 11.97 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002558/11.35, allocations: 144 kB / 4.459 GB, free: 11.83 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003197/11.35, allocations: 1.591 MB / 4.461 GB, free: 10.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/11.35, allocations: 7.891 kB / 4.461 GB, free: 10.17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/11.35, allocations: 60 kB / 4.461 GB, free: 10.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/11.35, allocations: 46.62 kB / 4.461 GB, free: 10.06 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/11.36, allocations: 1.217 MB / 4.462 GB, free: 8.84 MB / 0.698 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.009764/11.37, allocations: 7.413 MB / 4.469 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/11.37, allocations: 1.058 MB / 4.47 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007074/11.37, allocations: 431 kB / 4.471 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000238/11.37, allocations: 109.9 kB / 4.471 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/11.37, allocations: 39.34 kB / 4.471 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00146/11.37, allocations: 223 kB / 4.471 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=77): time 3.497e-06/11.37, allocations: 4 kB / 4.471 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=77): time 0.003666/11.37, allocations: 1.088 MB / 4.472 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/11.37, allocations: 64.19 kB / 4.472 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002575/11.38, allocations: 1.487 MB / 4.474 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001509/11.38, allocations: 49.7 kB / 4.474 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000949/11.38, allocations: 0.984 MB / 4.475 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/11.38, allocations: 280 kB / 4.475 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.718e-05/11.38, allocations: 20 kB / 4.475 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000169/11.38, allocations: 345.9 kB / 4.475 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000605/11.38, allocations: 342.2 kB / 4.476 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008954/11.38, allocations: 0.7413 MB / 4.476 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007293/11.38, allocations: 444.2 kB / 4.477 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/11.38, allocations: 4 kB / 4.477 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0029/11.38, allocations: 1.319 MB / 4.478 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001702/11.39, allocations: 3.874 MB / 4.482 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/11.39, allocations: 11.94 kB / 4.482 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004469/11.39, allocations: 112.8 kB / 4.482 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/11.39, allocations: 299.5 kB / 4.482 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002813/11.39, allocations: 2.342 MB / 4.485 GB, free: 316 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/11.39, allocations: 143.6 kB / 4.485 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/11.39, allocations: 59.97 kB / 4.485 GB, free: 112 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/11.39, allocations: 4 kB / 4.485 GB, free: 108 kB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5994/11.99, allocations: 1.052 MB / 4.486 GB, free: 71.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/11.99, allocations: 9.469 kB / 4.486 GB, free: 71.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003541/11.99, allocations: 103 kB / 4.486 GB, free: 71.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/11.99, allocations: 236.9 kB / 4.486 GB, free: 71.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/12, allocations: 1.746 MB / 4.488 GB, free: 69.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/12, allocations: 135 kB / 4.488 GB, free: 69.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/12, allocations: 51.91 kB / 4.488 GB, free: 69.88 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004233/12, allocations: 170.8 kB / 4.488 GB, free: 69.78 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00052/12, allocations: 192.2 kB / 4.488 GB, free: 69.78 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003276/12, allocations: 1.063 MB / 4.489 GB, free: 69.71 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/12, allocations: 10.31 kB / 4.489 GB, free: 69.71 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/12, allocations: 3.938 kB / 4.489 GB, free: 69.71 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002094/12, allocations: 0.8862 MB / 4.49 GB, free: 69.53 MB / 0.7136 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 postOpt removeSimpleEquations (simulation): time 0.00718/12.01, allocations: 2.716 MB / 4.493 GB, free: 69.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/12.01, allocations: 1.375 kB / 4.493 GB, free: 69.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/12.01, allocations: 246.3 kB / 4.493 GB, free: 69.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002777/12.01, allocations: 86.94 kB / 4.493 GB, free: 69.06 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-05/12.01, allocations: 24.72 kB / 4.493 GB, free: 69.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002844/12.02, allocations: 2.974 MB / 4.496 GB, free: 66.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/12.02, allocations: 3.25 kB / 4.496 GB, free: 66.51 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003009/12.02, allocations: 1.625 MB / 4.498 GB, free: 66.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/12.02, allocations: 345.2 kB / 4.498 GB, free: 65.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/12.02, allocations: 15.97 kB / 4.498 GB, free: 65.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/12.02, allocations: 140 kB / 4.498 GB, free: 65.96 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/12.02, allocations: 49.72 kB / 4.498 GB, free: 65.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.633e-05/12.02, allocations: 42.94 kB / 4.498 GB, free: 65.96 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001893/12.02, allocations: 1.163 MB / 4.499 GB, free: 65.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/12.02, allocations: 0 / 4.499 GB, free: 65.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005019/12.03, allocations: 1.338 MB / 4.501 GB, free: 65.75 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00758/12.04, allocations: 4.253 MB / 4.505 GB, free: 64.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004724/12.04, allocations: 1.742 MB / 4.507 GB, free: 63.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/12.04, allocations: 0 / 4.507 GB, free: 63.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001623/12.04, allocations: 0.5647 MB / 4.507 GB, free: 63.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005341/12.05, allocations: 0.9941 MB / 4.508 GB, free: 63.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006174/12.06, allocations: 2.681 MB / 4.511 GB, free: 62.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001721/12.06, allocations: 1.616 MB / 4.512 GB, free: 62.16 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00433/12.06, allocations: 0.7353 MB / 4.513 GB, free: 62.14 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005823/12.06, allocations: 121.5 kB / 4.513 GB, free: 62.14 MB / 0.7136 GB Notification: Performance of SimCode: time 1.022e-06/12.06, allocations: 1.656 kB / 4.513 GB, free: 62.14 MB / 0.7136 GB Notification: Performance of Templates: time 0.1402/12.2, allocations: 89.21 MB / 4.6 GB, free: 58.08 MB / 0.7136 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)