Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_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_dev_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.00215/0.00215, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8003/0.8003, allocations: 133.6 MB / 141.6 MB, free: 2.863 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.485/1.485, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0008425/0.0008425, allocations: 100.4 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.972e-05/1.976e-05, allocations: 4 kB / 0.5535 GB, free: 9.078 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4814/0.4814, allocations: 82.31 MB / 0.6338 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.244/5.725, allocations: 1.908 GB / 2.542 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/5.726, allocations: 91.95 kB / 2.542 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.236/11.96, allocations: 1.655 GB / 4.196 GB, free: 68.43 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.994e-06/11.96, allocations: 2.844 kB / 4.196 GB, free: 68.43 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000471/11.96, allocations: 64.94 kB / 4.196 GB, free: 68.41 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.008873/11.97, allocations: 2.508 MB / 4.199 GB, free: 66.88 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/11.97, allocations: 11.44 kB / 4.199 GB, free: 66.88 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006458/11.98, allocations: 0.8107 MB / 4.2 GB, free: 66.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008823/11.99, allocations: 2.662 MB / 4.202 GB, free: 65.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/11.99, allocations: 42.69 kB / 4.202 GB, free: 65.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005851/11.99, allocations: 87.78 kB / 4.202 GB, free: 65.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002915/11.99, allocations: 1.124 MB / 4.203 GB, free: 64.95 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003344/11.99, allocations: 1.319 MB / 4.205 GB, free: 64.37 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.618e-05/11.99, allocations: 3.812 kB / 4.205 GB, free: 64.37 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002017/11.99, allocations: 4 kB / 4.205 GB, free: 64.37 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.604e-05/11.99, allocations: 52.72 kB / 4.205 GB, free: 64.36 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.01201/12.01, allocations: 7.152 MB / 4.212 GB, free: 57.87 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/12.01, allocations: 0.9652 MB / 4.213 GB, free: 56.87 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006027/12.01, allocations: 430.7 kB / 4.213 GB, free: 56.45 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002223/12.01, allocations: 113.6 kB / 4.213 GB, free: 56.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/12.01, allocations: 51.3 kB / 4.213 GB, free: 56.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001406/12.01, allocations: 191.2 kB / 4.213 GB, free: 56.08 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=78): time 4.378e-06/12.01, allocations: 3.938 kB / 4.213 GB, free: 56.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=78): time 0.003073/12.01, allocations: 1.022 MB / 4.214 GB, free: 55.04 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/12.01, allocations: 60.19 kB / 4.214 GB, free: 54.97 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002546/12.02, allocations: 1.29 MB / 4.216 GB, free: 53.64 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001458/12.02, allocations: 25.7 kB / 4.216 GB, free: 53.61 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008041/12.02, allocations: 0.9914 MB / 4.217 GB, free: 52.61 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/12.02, allocations: 264.1 kB / 4.217 GB, free: 52.35 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-05/12.02, allocations: 0 / 4.217 GB, free: 52.35 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.011e-05/12.02, allocations: 345.9 kB / 4.217 GB, free: 52 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/12.02, allocations: 334.5 kB / 4.218 GB, free: 51.68 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006732/12.02, allocations: 0.7543 MB / 4.218 GB, free: 50.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/12.02, allocations: 490.5 kB / 4.219 GB, free: 50.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/12.02, allocations: 4 kB / 4.219 GB, free: 50.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002908/12.02, allocations: 1.295 MB / 4.22 GB, free: 48.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007854/12.02, allocations: 3.945 MB / 4.224 GB, free: 44.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/12.02, allocations: 8 kB / 4.224 GB, free: 44.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000384/12.02, allocations: 112.4 kB / 4.224 GB, free: 44.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/12.02, allocations: 251.6 kB / 4.224 GB, free: 44.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/12.03, allocations: 2.256 MB / 4.227 GB, free: 41.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/12.03, allocations: 107.8 kB / 4.227 GB, free: 41.85 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/12.03, allocations: 55.97 kB / 4.227 GB, free: 41.79 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/12.03, allocations: 4 kB / 4.227 GB, free: 41.79 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002273/12.03, allocations: 0.9993 MB / 4.228 GB, free: 40.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/12.03, allocations: 12 kB / 4.228 GB, free: 40.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002668/12.03, allocations: 104.5 kB / 4.228 GB, free: 40.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008234/12.03, allocations: 231.6 kB / 4.228 GB, free: 40.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/12.03, allocations: 1.669 MB / 4.23 GB, free: 38.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/12.04, allocations: 107.8 kB / 4.23 GB, free: 38.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/12.04, allocations: 55.98 kB / 4.23 GB, free: 38.5 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.0003746/12.04, allocations: 146 kB / 4.23 GB, free: 38.36 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005259/12.04, allocations: 185.6 kB / 4.23 GB, free: 38.17 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002748/12.04, allocations: 1.02 MB / 4.231 GB, free: 37.14 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/12.04, allocations: 12 kB / 4.231 GB, free: 37.13 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/12.04, allocations: 0 / 4.231 GB, free: 37.13 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00185/12.04, allocations: 0.8707 MB / 4.232 GB, free: 36.23 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.006241/12.05, allocations: 2.671 MB / 4.235 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/12.05, allocations: 0 / 4.235 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009378/12.05, allocations: 199.9 kB / 4.235 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002782/12.05, allocations: 92.64 kB / 4.235 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.972e-05/12.05, allocations: 15.98 kB / 4.235 GB, free: 33.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/12.05, allocations: 2.181 MB / 4.237 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/12.05, allocations: 4.031 kB / 4.237 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002929/12.05, allocations: 1.588 MB / 4.239 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/12.05, allocations: 338.7 kB / 4.239 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005259/12.06, allocations: 4 kB / 4.239 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/12.06, allocations: 115.7 kB / 4.239 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/12.06, allocations: 52.67 kB / 4.239 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/12.06, allocations: 31.97 kB / 4.239 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001902/12.06, allocations: 0.9791 MB / 4.24 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/12.06, allocations: 0 / 4.24 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005708/12.06, allocations: 1.298 MB / 4.241 GB, free: 26.32 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.006342/12.07, allocations: 4.376 MB / 4.246 GB, free: 22.06 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003044/12.07, allocations: 1.612 MB / 4.247 GB, free: 20.43 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/12.07, allocations: 0 / 4.247 GB, free: 20.43 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007396/12.07, allocations: 497.4 kB / 4.248 GB, free: 19.94 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004806/12.08, allocations: 0.874 MB / 4.248 GB, free: 19.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005694/12.09, allocations: 2.629 MB / 4.251 GB, free: 16.42 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/12.09, allocations: 1.613 MB / 4.253 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003422/12.09, allocations: 0.6656 MB / 4.253 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003568/12.09, allocations: 115.2 kB / 4.253 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of SimCode: time 1.052e-06/12.09, allocations: 4 kB / 4.253 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of Templates: time 0.6882/12.78, allocations: 55.4 MB / 4.307 GB, free: 79.27 MB / 0.7448 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)