Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7905/0.7905, allocations: 140.1 MB / 156 MB, free: 5.152 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.001071/0.001071, allocations: 174.3 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.4 MB / 426.4 MB, free: 8.441 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008193/0.0008194, allocations: 82.36 kB / 0.4945 GB, free: 8.387 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00189/0.001891, allocations: 281.3 kB / 0.5729 GB, free: 66.19 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005023/0.0005023, allocations: 20 kB / 0.662 GB, free: 6.789 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4262, allocations: 79.3 MB / 0.7395 GB, free: 46.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.516/4.942, allocations: 2.083 GB / 2.823 GB, free: 201 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/4.942, allocations: 96.8 kB / 2.823 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.773/10.72, allocations: 1.648 GB / 4.47 GB, free: 70.93 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.936e-06/10.72, allocations: 1.812 kB / 4.47 GB, free: 70.93 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004839/10.72, allocations: 60.34 kB / 4.471 GB, free: 70.92 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.01277/10.73, allocations: 3.151 MB / 4.474 GB, free: 69.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/10.73, allocations: 11.75 kB / 4.474 GB, free: 69.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005781/10.73, allocations: 0.8049 MB / 4.474 GB, free: 69.44 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007899/10.74, allocations: 2.697 MB / 4.477 GB, free: 68.82 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/10.74, allocations: 114.7 kB / 4.477 GB, free: 68.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005992/10.74, allocations: 147.2 kB / 4.477 GB, free: 68.82 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004174/10.75, allocations: 1.604 MB / 4.479 GB, free: 68.62 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.573e-05/10.75, allocations: 10.72 kB / 4.479 GB, free: 68.62 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002137/10.75, allocations: 58.06 kB / 4.479 GB, free: 68.62 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.246e-05/10.75, allocations: 46.17 kB / 4.479 GB, free: 68.61 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003029/10.75, allocations: 1.268 MB / 4.48 GB, free: 68.6 MB / 0.7292 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.01095/10.76, allocations: 7.456 MB / 4.488 GB, free: 64.85 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/10.76, allocations: 1.019 MB / 4.489 GB, free: 64.63 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008698/10.76, allocations: 487.1 kB / 4.489 GB, free: 64.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/10.76, allocations: 113 kB / 4.489 GB, free: 64.53 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/10.76, allocations: 44.56 kB / 4.489 GB, free: 64.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00129/10.77, allocations: 228.9 kB / 4.489 GB, free: 64.44 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=79): time 7.354e-06/10.77, allocations: 0 / 4.489 GB, free: 64.44 MB / 0.7292 GB Notification: Performance of matching and sorting (n=79): time 0.004607/10.77, allocations: 1.6 MB / 4.491 GB, free: 64.19 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/10.77, allocations: 64.22 kB / 4.491 GB, free: 64.12 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002934/10.77, allocations: 1.737 MB / 4.493 GB, free: 63.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001246/10.77, allocations: 48.17 kB / 4.493 GB, free: 63.87 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007638/10.77, allocations: 0.9691 MB / 4.494 GB, free: 63.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/10.77, allocations: 279.6 kB / 4.494 GB, free: 63.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/10.77, allocations: 19.38 kB / 4.494 GB, free: 63.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.728e-05/10.77, allocations: 347.6 kB / 4.494 GB, free: 63.08 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008175/10.78, allocations: 385.5 kB / 4.495 GB, free: 63.08 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/10.78, allocations: 0.8202 MB / 4.495 GB, free: 62.56 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001946/10.78, allocations: 1.135 MB / 4.497 GB, free: 62.19 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/10.78, allocations: 3.844 kB / 4.497 GB, free: 62.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003291/10.78, allocations: 1.421 MB / 4.498 GB, free: 62.03 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002137/10.78, allocations: 392.8 kB / 4.498 GB, free: 61.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/10.78, allocations: 10 kB / 4.498 GB, free: 61.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004331/10.78, allocations: 115.8 kB / 4.498 GB, free: 61.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/10.78, allocations: 263.4 kB / 4.499 GB, free: 61.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/10.79, allocations: 2.393 MB / 4.501 GB, free: 59.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/10.79, allocations: 138.5 kB / 4.501 GB, free: 59.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/10.79, allocations: 59.44 kB / 4.501 GB, free: 59.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.124e-06/10.79, allocations: 3.625 kB / 4.501 GB, free: 59.73 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002566/10.79, allocations: 1.172 MB / 4.502 GB, free: 59.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/10.79, allocations: 9.812 kB / 4.502 GB, free: 59.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003226/10.79, allocations: 112.8 kB / 4.502 GB, free: 59.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008207/10.79, allocations: 240 kB / 4.503 GB, free: 59.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/10.79, allocations: 1.811 MB / 4.504 GB, free: 58.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/10.8, allocations: 142.5 kB / 4.505 GB, free: 58.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/10.8, allocations: 48.38 kB / 4.505 GB, free: 58.4 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (123): * Single equations (assignments): 119 * 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.001345/10.8, allocations: 0.5882 MB / 4.505 GB, free: 58.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004664/10.8, allocations: 192.3 kB / 4.505 GB, free: 58.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003254/10.8, allocations: 1.159 MB / 4.507 GB, free: 58.01 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/10.8, allocations: 11.25 kB / 4.507 GB, free: 58.01 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/10.8, allocations: 3.312 kB / 4.507 GB, free: 58.01 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002127/10.8, allocations: 0.9735 MB / 4.508 GB, free: 57.83 MB / 0.7292 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 postOpt removeSimpleEquations (simulation): time 0.006475/10.81, allocations: 2.986 MB / 4.51 GB, free: 57.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/10.81, allocations: 0 / 4.51 GB, free: 57.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000858/10.81, allocations: 197.2 kB / 4.511 GB, free: 57.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002983/10.81, allocations: 95.27 kB / 4.511 GB, free: 57.16 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.699e-05/10.81, allocations: 26.14 kB / 4.511 GB, free: 57.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/10.81, allocations: 2.297 MB / 4.513 GB, free: 55.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/10.81, allocations: 1.469 kB / 4.513 GB, free: 55.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003427/10.82, allocations: 1.698 MB / 4.515 GB, free: 54.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009016/10.82, allocations: 341.9 kB / 4.515 GB, free: 54.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003948/10.82, allocations: 20.89 kB / 4.515 GB, free: 54.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/10.82, allocations: 133.4 kB / 4.515 GB, free: 54.76 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/10.82, allocations: 57.14 kB / 4.515 GB, free: 54.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.299e-05/10.82, allocations: 35.22 kB / 4.515 GB, free: 54.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002108/10.82, allocations: 1.174 MB / 4.516 GB, free: 54.61 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.4e-07/10.82, allocations: 0 / 4.516 GB, free: 54.61 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006227/10.83, allocations: 1.38 MB / 4.518 GB, free: 54.46 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 75 * 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.006545/10.83, allocations: 4.226 MB / 4.522 GB, free: 52.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004032/10.84, allocations: 1.81 MB / 4.524 GB, free: 52.32 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/10.84, allocations: 4.969 kB / 4.524 GB, free: 52.32 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/10.84, allocations: 0.5699 MB / 4.524 GB, free: 52.18 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005239/10.85, allocations: 1.003 MB / 4.525 GB, free: 52.14 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006664/10.85, allocations: 4.201 MB / 4.529 GB, free: 50.27 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/10.85, allocations: 1.569 MB / 4.531 GB, free: 49.55 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002473/10.86, allocations: 483.7 kB / 4.531 GB, free: 49.47 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004517/10.86, allocations: 153.8 kB / 4.531 GB, free: 49.46 MB / 0.7292 GB Notification: Performance of SimCode: time 6.22e-07/10.86, allocations: 0 / 4.531 GB, free: 49.46 MB / 0.7292 GB Notification: Performance of Templates: time 0.1004/10.96, allocations: 76.84 MB / 4.606 GB, free: 5.043 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)