Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json 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/IDEAS 3.0.0/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8164/0.8164, allocations: 130.7 MB / 138.7 MB, free: 3.562 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 221.5 MB / 391.8 MB, free: 14.18 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.0008656/0.0008658, allocations: 91.66 kB / 473.9 MB, free: 4.484 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.379e-05/2.372e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4775/0.4775, allocations: 81.57 MB / 0.6282 GB, free: 42.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.524/6.001, allocations: 1.908 GB / 2.536 GB, free: 68.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/6.002, allocations: 94.75 kB / 2.536 GB, free: 68.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.293/12.29, allocations: 1.655 GB / 4.19 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.954e-06/12.29, allocations: 0 / 4.19 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000439/12.3, allocations: 68.14 kB / 4.19 GB, free: 5.945 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.009601/12.31, allocations: 2.509 MB / 4.193 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/12.31, allocations: 8.031 kB / 4.193 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006581/12.31, allocations: 0.8199 MB / 4.194 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6337/12.95, allocations: 2.656 MB / 4.196 GB, free: 77.22 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/12.95, allocations: 43.5 kB / 4.196 GB, free: 77.22 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006615/12.95, allocations: 91.31 kB / 4.196 GB, free: 77.22 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003059/12.95, allocations: 1.117 MB / 4.197 GB, free: 77.21 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003194/12.95, allocations: 1.327 MB / 4.199 GB, free: 77.03 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.322e-05/12.95, allocations: 4.906 kB / 4.199 GB, free: 77.03 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/12.95, allocations: 4.156 kB / 4.199 GB, free: 77.03 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.838e-05/12.95, allocations: 50.69 kB / 4.199 GB, free: 77.02 MB / 0.7292 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.01103/12.96, allocations: 7.144 MB / 4.206 GB, free: 73.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/12.97, allocations: 0.9713 MB / 4.207 GB, free: 73.33 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005697/12.97, allocations: 418.3 kB / 4.207 GB, free: 73.32 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/12.97, allocations: 117 kB / 4.207 GB, free: 73.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/12.97, allocations: 39.81 kB / 4.207 GB, free: 73.19 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001269/12.97, allocations: 197.5 kB / 4.208 GB, free: 73.17 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=78): time 4.358e-06/12.97, allocations: 2.516 kB / 4.208 GB, free: 73.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=78): time 0.002505/12.97, allocations: 1.027 MB / 4.209 GB, free: 73.03 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/12.97, allocations: 62.69 kB / 4.209 GB, free: 72.96 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/12.97, allocations: 1.292 MB / 4.21 GB, free: 72.76 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.098e-05/12.97, allocations: 29.55 kB / 4.21 GB, free: 72.73 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006906/12.97, allocations: 0.9713 MB / 4.211 GB, free: 72.48 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/12.97, allocations: 265.8 kB / 4.211 GB, free: 72.34 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/12.97, allocations: 0 / 4.211 GB, free: 72.34 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.71e-05/12.97, allocations: 351.9 kB / 4.211 GB, free: 72.03 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004588/12.97, allocations: 334.2 kB / 4.212 GB, free: 72.03 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006392/12.97, allocations: 0.7546 MB / 4.212 GB, free: 71.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009679/12.97, allocations: 497.2 kB / 4.213 GB, free: 71.51 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/12.97, allocations: 2.406 kB / 4.213 GB, free: 71.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002677/12.98, allocations: 1.295 MB / 4.214 GB, free: 71.35 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008172/12.98, allocations: 3.944 MB / 4.218 GB, free: 67.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/12.98, allocations: 11.06 kB / 4.218 GB, free: 67.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003765/12.98, allocations: 103.3 kB / 4.218 GB, free: 67.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/12.98, allocations: 262.9 kB / 4.218 GB, free: 67.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/12.98, allocations: 2.248 MB / 4.221 GB, free: 65.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/12.98, allocations: 110.6 kB / 4.221 GB, free: 65.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/12.98, allocations: 63.17 kB / 4.221 GB, free: 65.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/12.98, allocations: 2.812 kB / 4.221 GB, free: 65.48 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002262/12.99, allocations: 0.9919 MB / 4.222 GB, free: 65.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/12.99, allocations: 6.688 kB / 4.222 GB, free: 65.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002661/12.99, allocations: 105.3 kB / 4.222 GB, free: 65.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008401/12.99, allocations: 232.4 kB / 4.222 GB, free: 65.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/12.99, allocations: 1.677 MB / 4.224 GB, free: 64.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/12.99, allocations: 100.6 kB / 4.224 GB, free: 64.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/12.99, allocations: 54.91 kB / 4.224 GB, free: 64.23 MB / 0.7292 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.0004742/12.99, allocations: 143.8 kB / 4.224 GB, free: 64.13 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003131/12.99, allocations: 183.2 kB / 4.224 GB, free: 64.03 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002748/13, allocations: 1.028 MB / 4.225 GB, free: 63.94 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/13, allocations: 10.53 kB / 4.225 GB, free: 63.94 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/13, allocations: 0 / 4.225 GB, free: 63.94 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001681/13, allocations: 0.8743 MB / 4.226 GB, free: 63.76 MB / 0.7292 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.006149/13, allocations: 2.678 MB / 4.229 GB, free: 63.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/13, allocations: 2.125 kB / 4.229 GB, free: 63.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/13, allocations: 184.7 kB / 4.229 GB, free: 63.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003277/13, allocations: 94.52 kB / 4.229 GB, free: 63.14 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.203e-05/13, allocations: 13.06 kB / 4.229 GB, free: 63.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/13.01, allocations: 2.186 MB / 4.231 GB, free: 61.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/13.01, allocations: 2.406 kB / 4.231 GB, free: 61.36 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003033/13.01, allocations: 1.594 MB / 4.233 GB, free: 60.92 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009004/13.01, allocations: 332.4 kB / 4.233 GB, free: 60.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/13.01, allocations: 8.219 kB / 4.233 GB, free: 60.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/13.01, allocations: 113.5 kB / 4.233 GB, free: 60.72 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/13.01, allocations: 53.89 kB / 4.233 GB, free: 60.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.408e-05/13.01, allocations: 35.45 kB / 4.233 GB, free: 60.72 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00187/13.01, allocations: 0.9787 MB / 4.234 GB, free: 60.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.5e-07/13.01, allocations: 2.625 kB / 4.234 GB, free: 60.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005467/13.02, allocations: 1.302 MB / 4.235 GB, free: 60.51 MB / 0.7292 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.007119/13.03, allocations: 4.36 MB / 4.24 GB, free: 58.84 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003104/13.03, allocations: 1.618 MB / 4.241 GB, free: 58.62 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/13.03, allocations: 7.625 kB / 4.241 GB, free: 58.62 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007142/13.03, allocations: 0.4887 MB / 4.242 GB, free: 58.52 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004401/13.03, allocations: 0.8714 MB / 4.243 GB, free: 58.49 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004567/13.04, allocations: 2.633 MB / 4.245 GB, free: 57.73 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/13.04, allocations: 1.616 MB / 4.247 GB, free: 57 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00294/13.04, allocations: 0.6586 MB / 4.247 GB, free: 56.98 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002991/13.04, allocations: 114.7 kB / 4.247 GB, free: 56.97 MB / 0.7292 GB Notification: Performance of SimCode: time 6.91e-07/13.04, allocations: 1.562 kB / 4.247 GB, free: 56.97 MB / 0.7292 GB Notification: Performance of Templates: time 0.09497/13.14, allocations: 55.42 MB / 4.302 GB, free: 54.16 MB / 0.7292 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)