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 4.0.0+maint.om/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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.7939/0.7939, allocations: 141.8 MB / 149.3 MB, free: 9.203 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 183.7 kB / 182.2 MB, free: 9.422 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 221.5 MB / 436.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008461/0.0008461, allocations: 92.09 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001732/0.001732, allocations: 287 kB / 0.5889 GB, free: 54.62 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.728e-05/1.747e-05, allocations: 4 kB / 0.6765 GB, free: 12.79 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4955/0.4956, allocations: 82.78 MB / 0.7574 GB, free: 31.97 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.616/5.112, allocations: 1.905 GB / 2.662 GB, free: 152.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/5.112, allocations: 94.78 kB / 2.663 GB, free: 152.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.128/11.24, allocations: 1.654 GB / 4.317 GB, free: 76.96 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.414e-06/11.24, allocations: 0 / 4.317 GB, free: 76.96 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0005249/11.24, allocations: 58.22 kB / 4.317 GB, free: 76.96 MB / 0.7448 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.009984/11.25, allocations: 2.499 MB / 4.319 GB, free: 75.72 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/11.25, allocations: 14.7 kB / 4.319 GB, free: 75.72 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006246/11.26, allocations: 0.8188 MB / 4.32 GB, free: 75.58 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009092/11.27, allocations: 2.634 MB / 4.323 GB, free: 75.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/11.27, allocations: 41.88 kB / 4.323 GB, free: 75.04 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006453/11.27, allocations: 88.25 kB / 4.323 GB, free: 75.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00308/11.27, allocations: 1.119 MB / 4.324 GB, free: 75.03 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003483/11.27, allocations: 1.333 MB / 4.325 GB, free: 74.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.873e-05/11.27, allocations: 4.438 kB / 4.325 GB, free: 74.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002115/11.27, allocations: 3.375 kB / 4.325 GB, free: 74.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.254e-05/11.27, allocations: 47.66 kB / 4.325 GB, free: 74.84 MB / 0.7448 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.01266/11.29, allocations: 7.144 MB / 4.332 GB, free: 71.16 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/11.29, allocations: 0.9661 MB / 4.333 GB, free: 70.94 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007564/11.29, allocations: 422 kB / 4.333 GB, free: 70.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002934/11.29, allocations: 111.7 kB / 4.334 GB, free: 70.84 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/11.29, allocations: 48.03 kB / 4.334 GB, free: 70.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001857/11.29, allocations: 199.5 kB / 4.334 GB, free: 70.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=78): time 7.023e-06/11.29, allocations: 0 / 4.334 GB, free: 70.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=78): time 0.003404/11.29, allocations: 1.027 MB / 4.335 GB, free: 70.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/11.29, allocations: 62.19 kB / 4.335 GB, free: 70.55 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002999/11.3, allocations: 1.282 MB / 4.336 GB, free: 70.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001694/11.3, allocations: 31.11 kB / 4.336 GB, free: 70.3 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009563/11.3, allocations: 0.9719 MB / 4.337 GB, free: 69.98 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/11.3, allocations: 257.8 kB / 4.337 GB, free: 69.8 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.495e-05/11.3, allocations: 4.094 kB / 4.337 GB, free: 69.8 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001072/11.3, allocations: 348.3 kB / 4.338 GB, free: 69.5 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005169/11.3, allocations: 334.6 kB / 4.338 GB, free: 69.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007677/11.3, allocations: 0.7553 MB / 4.339 GB, free: 68.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/11.3, allocations: 496.9 kB / 4.339 GB, free: 68.96 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/11.3, allocations: 0 / 4.339 GB, free: 68.96 MB / 0.7448 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003055/11.3, allocations: 1.292 MB / 4.34 GB, free: 68.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009653/11.31, allocations: 3.942 MB / 4.344 GB, free: 64.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.507e-05/11.31, allocations: 9.438 kB / 4.344 GB, free: 64.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000433/11.31, allocations: 105.9 kB / 4.344 GB, free: 64.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/11.31, allocations: 261.3 kB / 4.345 GB, free: 64.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/11.31, allocations: 2.239 MB / 4.347 GB, free: 62.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/11.31, allocations: 131.5 kB / 4.347 GB, free: 62.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/11.31, allocations: 57.73 kB / 4.347 GB, free: 62.82 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/11.31, allocations: 3.188 kB / 4.347 GB, free: 62.82 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00231/11.31, allocations: 0.9982 MB / 4.348 GB, free: 62.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.908e-05/11.31, allocations: 10.14 kB / 4.348 GB, free: 62.74 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002756/11.31, allocations: 110.8 kB / 4.348 GB, free: 62.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008246/11.32, allocations: 229.5 kB / 4.348 GB, free: 62.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/11.32, allocations: 1.669 MB / 4.35 GB, free: 61.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/11.32, allocations: 110.5 kB / 4.35 GB, free: 61.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/11.32, allocations: 53.05 kB / 4.35 GB, free: 61.5 MB / 0.7448 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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.0003777/11.32, allocations: 139 kB / 4.35 GB, free: 61.37 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005275/11.32, allocations: 190.1 kB / 4.35 GB, free: 61.27 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00282/11.32, allocations: 1.013 MB / 4.351 GB, free: 61.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/11.32, allocations: 10.33 kB / 4.351 GB, free: 61.17 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/11.32, allocations: 7.781 kB / 4.351 GB, free: 61.17 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001726/11.32, allocations: 0.8601 MB / 4.352 GB, free: 60.98 MB / 0.7448 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.006168/11.33, allocations: 2.684 MB / 4.355 GB, free: 60.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/11.33, allocations: 0 / 4.355 GB, free: 60.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009164/11.33, allocations: 190.1 kB / 4.355 GB, free: 60.35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002667/11.33, allocations: 86.81 kB / 4.355 GB, free: 60.34 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.212e-05/11.33, allocations: 16.45 kB / 4.355 GB, free: 60.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/11.33, allocations: 2.186 MB / 4.357 GB, free: 58.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/11.33, allocations: 3.188 kB / 4.357 GB, free: 58.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002879/11.34, allocations: 1.592 MB / 4.359 GB, free: 58.11 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/11.34, allocations: 333.3 kB / 4.359 GB, free: 57.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005561/11.34, allocations: 2.625 kB / 4.359 GB, free: 57.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/11.34, allocations: 117.1 kB / 4.359 GB, free: 57.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/11.34, allocations: 52.33 kB / 4.359 GB, free: 57.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.27e-05/11.34, allocations: 37.19 kB / 4.359 GB, free: 57.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002113/11.34, allocations: 0.9652 MB / 4.36 GB, free: 57.76 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.71e-07/11.34, allocations: 3.781 kB / 4.36 GB, free: 57.76 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006092/11.35, allocations: 1.292 MB / 4.362 GB, free: 57.61 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (76): * Single equations (assignments): 74 * 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.007184/11.36, allocations: 4.399 MB / 4.366 GB, free: 55.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003448/11.36, allocations: 1.621 MB / 4.367 GB, free: 55.52 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/11.36, allocations: 3.25 kB / 4.367 GB, free: 55.52 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008361/11.36, allocations: 492.5 kB / 4.368 GB, free: 55.4 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004924/11.37, allocations: 0.8673 MB / 4.369 GB, free: 55.37 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007141/11.37, allocations: 2.618 MB / 4.371 GB, free: 54.52 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002425/11.37, allocations: 1.624 MB / 4.373 GB, free: 53.75 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003825/11.38, allocations: 0.6705 MB / 4.374 GB, free: 53.64 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/11.38, allocations: 110.6 kB / 4.374 GB, free: 53.63 MB / 0.7448 GB Notification: Performance of SimCode: time 1.172e-06/11.38, allocations: 0 / 4.374 GB, free: 53.63 MB / 0.7448 GB Notification: Performance of Templates: time 0.09035/11.47, allocations: 55.4 MB / 4.428 GB, free: 13.35 MB / 0.7448 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)