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.7824/0.7824, allocations: 143.4 MB / 158.3 MB, free: 5.793 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.001106/0.001106, allocations: 181.1 kB / 191.5 MB, free: 5.762 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.462/1.462, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.0009353/0.0009353, allocations: 107.6 kB / 0.5188 GB, free: 1.148 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001829/0.001829, allocations: 261.7 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004648, allocations: 14.94 kB / 0.6929 GB, free: 59.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1793, allocations: 82.79 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.716/4.895, allocations: 1.906 GB / 2.68 GB, free: 171.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/4.895, allocations: 95.92 kB / 2.68 GB, free: 171.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.146/11.04, allocations: 1.674 GB / 4.353 GB, free: 85.97 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.284e-06/11.04, allocations: 3.156 kB / 4.353 GB, free: 85.97 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002935/11.04, allocations: 57.75 kB / 4.354 GB, free: 85.96 MB / 0.7605 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.01041/11.05, allocations: 3.159 MB / 4.357 GB, free: 84.7 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/11.05, allocations: 10.25 kB / 4.357 GB, free: 84.7 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006273/11.06, allocations: 0.8185 MB / 4.357 GB, free: 84.57 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007847/11.07, allocations: 2.652 MB / 4.36 GB, free: 84.03 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/11.07, allocations: 114.9 kB / 4.36 GB, free: 84.02 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002857/11.07, allocations: 149.9 kB / 4.36 GB, free: 84.02 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002986/11.07, allocations: 1.59 MB / 4.362 GB, free: 83.83 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/11.07, allocations: 0 / 4.362 GB, free: 83.83 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/11.07, allocations: 55.94 kB / 4.362 GB, free: 83.83 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.7e-05/11.07, allocations: 49.97 kB / 4.362 GB, free: 83.82 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/11.07, allocations: 1.267 MB / 4.363 GB, free: 83.81 MB / 0.7605 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.009716/11.08, allocations: 7.426 MB / 4.37 GB, free: 80.07 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/11.08, allocations: 1.015 MB / 4.371 GB, free: 79.84 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/11.08, allocations: 112 kB / 4.372 GB, free: 79.75 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/11.08, allocations: 43.78 kB / 4.372 GB, free: 79.71 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001176/11.09, allocations: 228.3 kB / 4.372 GB, free: 79.67 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=78): time 3.768e-06/11.09, allocations: 0 / 4.372 GB, free: 79.67 MB / 0.7605 GB Notification: Performance of matching and sorting (n=78): time 0.004651/11.09, allocations: 1.602 MB / 4.373 GB, free: 79.41 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/11.09, allocations: 63.41 kB / 4.373 GB, free: 79.35 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/11.09, allocations: 1.509 MB / 4.375 GB, free: 79.14 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001187/11.09, allocations: 48.64 kB / 4.375 GB, free: 79.11 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006685/11.09, allocations: 0.9723 MB / 4.376 GB, free: 78.8 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/11.09, allocations: 274.6 kB / 4.376 GB, free: 78.62 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/11.09, allocations: 20.39 kB / 4.376 GB, free: 78.62 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.17e-05/11.09, allocations: 346.6 kB / 4.376 GB, free: 78.32 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008241/11.09, allocations: 384.5 kB / 4.377 GB, free: 78.32 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009959/11.09, allocations: 0.8132 MB / 4.378 GB, free: 77.8 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009367/11.1, allocations: 0.4893 MB / 4.378 GB, free: 77.79 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.565e-06/11.1, allocations: 1.906 kB / 4.378 GB, free: 77.79 MB / 0.7605 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003369/11.1, allocations: 1.419 MB / 4.379 GB, free: 77.62 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006933/11.1, allocations: 3.965 MB / 4.383 GB, free: 73.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/11.1, allocations: 6.562 kB / 4.383 GB, free: 73.55 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004514/11.1, allocations: 121.2 kB / 4.383 GB, free: 73.54 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/11.1, allocations: 259.3 kB / 4.384 GB, free: 73.54 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/11.1, allocations: 2.421 MB / 4.386 GB, free: 71.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/11.11, allocations: 141 kB / 4.386 GB, free: 71.68 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/11.11, allocations: 59.88 kB / 4.386 GB, free: 71.68 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/11.11, allocations: 9.469 kB / 4.386 GB, free: 71.68 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002535/11.11, allocations: 1.169 MB / 4.387 GB, free: 71.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/11.11, allocations: 15.83 kB / 4.387 GB, free: 71.65 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003514/11.11, allocations: 114.6 kB / 4.388 GB, free: 71.64 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008541/11.11, allocations: 229.4 kB / 4.388 GB, free: 71.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/11.11, allocations: 1.829 MB / 4.39 GB, free: 70.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/11.11, allocations: 138.8 kB / 4.39 GB, free: 70.36 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/11.11, allocations: 52.5 kB / 4.39 GB, free: 70.36 MB / 0.7605 GB 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 () * Number of clocked 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.001452/11.12, allocations: 0.5905 MB / 4.39 GB, free: 70.16 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004403/11.12, allocations: 194.8 kB / 4.391 GB, free: 70.06 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003092/11.12, allocations: 1.144 MB / 4.392 GB, free: 69.97 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/11.12, allocations: 12.42 kB / 4.392 GB, free: 69.97 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/11.12, allocations: 0 / 4.392 GB, free: 69.97 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002229/11.12, allocations: 0.9778 MB / 4.393 GB, free: 69.79 MB / 0.7605 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.006621/11.13, allocations: 2.963 MB / 4.395 GB, free: 69.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/11.13, allocations: 6.688 kB / 4.396 GB, free: 69.14 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009356/11.13, allocations: 188.7 kB / 4.396 GB, free: 69.14 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003289/11.13, allocations: 92.56 kB / 4.396 GB, free: 69.13 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.993e-05/11.13, allocations: 24.03 kB / 4.396 GB, free: 69.13 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/11.13, allocations: 2.303 MB / 4.398 GB, free: 67.29 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/11.13, allocations: 8.375 kB / 4.398 GB, free: 67.29 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003651/11.14, allocations: 1.778 MB / 4.4 GB, free: 66.84 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/11.14, allocations: 348.5 kB / 4.4 GB, free: 66.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/11.14, allocations: 19.66 kB / 4.4 GB, free: 66.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/11.14, allocations: 129.7 kB / 4.4 GB, free: 66.64 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/11.14, allocations: 61.14 kB / 4.4 GB, free: 66.63 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.636e-05/11.14, allocations: 32.81 kB / 4.4 GB, free: 66.63 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001637/11.14, allocations: 1.179 MB / 4.402 GB, free: 66.48 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.5e-07/11.14, allocations: 0 / 4.402 GB, free: 66.48 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.004419/11.14, allocations: 1.377 MB / 4.403 GB, free: 66.34 MB / 0.7605 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 () * Number of clocked 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.005711/11.15, allocations: 4.205 MB / 4.407 GB, free: 64.57 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003958/11.15, allocations: 1.79 MB / 4.409 GB, free: 64.33 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/11.15, allocations: 6.562 kB / 4.409 GB, free: 64.32 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/11.16, allocations: 0.5691 MB / 4.409 GB, free: 64.2 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0043/11.16, allocations: 0.9903 MB / 4.41 GB, free: 64.16 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005709/11.17, allocations: 4.175 MB / 4.414 GB, free: 62.32 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/11.17, allocations: 1.617 MB / 4.416 GB, free: 61.59 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002229/11.17, allocations: 483.4 kB / 4.416 GB, free: 61.56 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003492/11.17, allocations: 151.1 kB / 4.416 GB, free: 61.55 MB / 0.7605 GB Notification: Performance of SimCode: time 7.32e-07/11.17, allocations: 0 / 4.416 GB, free: 61.55 MB / 0.7605 GB Notification: Performance of Templates: time 0.1052/11.27, allocations: 75.81 MB / 4.491 GB, free: 26.72 MB / 0.7605 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)