Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.conf.json 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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009421/0.0009421, allocations: 88.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 186.5 kB / 16.92 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9508/0.9508, allocations: 135.3 MB / 427.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003249, allocations: 8 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1858, allocations: 82.3 MB / 0.5886 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified6): time 1.173/1.358, allocations: 348.1 MB / 0.9286 GB, free: 49.56 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.1063/1.465, allocations: 72.28 MB / 0.9992 GB, free: 39.95 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02389/1.489, allocations: 382.4 kB / 0.9995 GB, free: 39.86 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01627/1.505, allocations: 3.852 MB / 1.003 GB, free: 37.06 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.04101/1.546, allocations: 10.27 MB / 1.013 GB, free: 30.47 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.02268/1.569, allocations: 7.169 MB / 1.02 GB, free: 26.09 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.04883/1.618, allocations: 38.3 MB / 1.058 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02667/1.644, allocations: 14.07 MB / 1.071 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0312/1.676, allocations: 10.68 MB / 1.082 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02124/1.697, allocations: 9.473 MB / 1.091 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.005093/1.702, allocations: 0.4922 MB / 1.092 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01798/1.72, allocations: 3.636 MB / 1.095 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.007418/1.727, allocations: 2.971 MB / 1.098 GB, free: 328 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.02125/1.749, allocations: 6.67 MB / 1.105 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.02649/1.775, allocations: 14.64 MB / 1.119 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/1.775, allocations: 4 kB / 1.119 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.207e-06/1.775, allocations: 0 / 1.119 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0008278/1.776, allocations: 0 / 1.119 GB, free: 11.67 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.0395/1.816, allocations: 13.76 MB / 1.132 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/1.816, allocations: 12.03 kB / 1.132 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/1.827, allocations: 2.231 MB / 1.135 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02847/1.855, allocations: 11.65 MB / 1.146 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0019/1.857, allocations: 0.7794 MB / 1.147 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00279/1.86, allocations: 0.6797 MB / 1.147 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02044/1.88, allocations: 8.996 MB / 1.156 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001205/1.88, allocations: 15.88 kB / 1.156 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007634/1.881, allocations: 252 kB / 1.156 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001592/1.881, allocations: 159.9 kB / 1.157 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6788/2.56, allocations: 7.464 MB / 1.164 GB, free: 302.6 MB / 0.7794 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.06993/2.63, allocations: 50.5 MB / 1.213 GB, free: 269.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/2.641, allocations: 5.545 MB / 1.219 GB, free: 267.1 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007537/2.649, allocations: 3.967 MB / 1.222 GB, free: 265.9 MB / 0.7794 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 evalFunc (simulation): time 0.03361/2.682, allocations: 13.44 MB / 1.236 GB, free: 259.4 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006498/2.689, allocations: 3.733 MB / 1.239 GB, free: 258.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009918/2.699, allocations: 1.859 MB / 1.241 GB, free: 257.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=320): time 2.966e-05/2.699, allocations: 1.062 kB / 1.241 GB, free: 257.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=506): time 0.1767/2.876, allocations: 54.09 MB / 1.294 GB, free: 218.1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/2.876, allocations: 107.3 kB / 1.294 GB, free: 218 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02118/2.897, allocations: 12.79 MB / 1.306 GB, free: 205.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001709/2.899, allocations: 157.7 kB / 1.307 GB, free: 205.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.005663/2.904, allocations: 6.161 MB / 1.313 GB, free: 199 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.002345/2.907, allocations: 1.707 MB / 1.314 GB, free: 197.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/2.908, allocations: 0.6704 MB / 1.315 GB, free: 196.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 4.973e-05/2.908, allocations: 305.1 kB / 1.315 GB, free: 196.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01033/2.918, allocations: 5.869 MB / 1.321 GB, free: 190.4 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01255/2.931, allocations: 8.445 MB / 1.329 GB, free: 180.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02293/2.954, allocations: 13.66 MB / 1.343 GB, free: 166.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.643e-05/2.954, allocations: 16 kB / 1.343 GB, free: 166.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=953) (initialization): time 0.04044/2.995, allocations: 18.77 MB / 1.361 GB, free: 147.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008582/2.995, allocations: 1.929 MB / 1.363 GB, free: 144.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.165e-05/2.996, allocations: 60 kB / 1.363 GB, free: 144.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0143/3.01, allocations: 4.792 MB / 1.367 GB, free: 139.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01105/3.021, allocations: 2.044 MB / 1.369 GB, free: 137.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/3.032, allocations: 10.92 MB / 1.38 GB, free: 126.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01388/3.046, allocations: 1.209 MB / 1.381 GB, free: 125.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001962/3.048, allocations: 467.7 kB / 1.382 GB, free: 125 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/3.048, allocations: 4 kB / 1.382 GB, free: 125 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03324/3.081, allocations: 16.18 MB / 1.398 GB, free: 108.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001268/3.081, allocations: 56 kB / 1.398 GB, free: 108.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01181/3.093, allocations: 4.384 MB / 1.402 GB, free: 104.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009637/3.103, allocations: 2.016 MB / 1.404 GB, free: 102.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01979/3.122, allocations: 15.44 MB / 1.419 GB, free: 86.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01382/3.136, allocations: 1.194 MB / 1.42 GB, free: 85.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001879/3.138, allocations: 439.8 kB / 1.421 GB, free: 84.89 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (748): * Single equations (assignments): 735 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (7,78)} Notification: Performance of prepare postOptimizeDAE: time 0.006817/3.145, allocations: 3.117 MB / 1.424 GB, free: 81.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003128/3.148, allocations: 1.207 MB / 1.425 GB, free: 80.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03357/3.182, allocations: 14.99 MB / 1.439 GB, free: 65.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-05/3.182, allocations: 67.92 kB / 1.439 GB, free: 65.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/3.182, allocations: 0 / 1.439 GB, free: 65.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02665/3.209, allocations: 12.34 MB / 1.451 GB, free: 52.94 MB / 0.7794 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.05177/3.26, allocations: 26.42 MB / 1.477 GB, free: 26.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.33e-05/3.26, allocations: 7.938 kB / 1.477 GB, free: 26.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006549/3.267, allocations: 1.25 MB / 1.479 GB, free: 25.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009524/3.277, allocations: 3.292 MB / 1.482 GB, free: 21.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001082/3.278, allocations: 171.9 kB / 1.482 GB, free: 21.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00807/3.286, allocations: 9.608 MB / 1.491 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/3.286, allocations: 4 kB / 1.491 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4219/3.708, allocations: 20.28 MB / 1.511 GB, free: 282.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008156/3.716, allocations: 2.338 MB / 1.513 GB, free: 282.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004234/3.72, allocations: 110.1 kB / 1.513 GB, free: 282.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01274/3.733, allocations: 1.025 MB / 1.514 GB, free: 282.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001472/3.734, allocations: 385.5 kB / 1.515 GB, free: 282.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006796/3.735, allocations: 245.4 kB / 1.515 GB, free: 282.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.01643/3.752, allocations: 8.672 MB / 1.524 GB, free: 279.4 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9.52e-07/3.752, allocations: 0 / 1.524 GB, free: 279.4 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.03249/3.784, allocations: 5.426 MB / 1.529 GB, free: 279 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (441): * Single equations (assignments): 420 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(9,78), (1,1), (8,77)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00401/3.788, allocations: 1.304 MB / 1.53 GB, free: 278.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.05066/3.839, allocations: 20.68 MB / 1.55 GB, free: 272.4 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.948e-05/3.839, allocations: 5.906 kB / 1.55 GB, free: 272.4 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.01453/3.853, allocations: 5.7 MB / 1.556 GB, free: 270.8 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05052/3.904, allocations: 5.939 MB / 1.562 GB, free: 269.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0513/3.955, allocations: 29.64 MB / 1.591 GB, free: 254.4 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008046/3.963, allocations: 6.747 MB / 1.597 GB, free: 249.6 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004844/3.968, allocations: 0.9714 MB / 1.598 GB, free: 248.7 MB / 0.7794 GB Notification: Performance of SimCode: time 1.283e-06/3.968, allocations: 0 / 1.598 GB, free: 248.7 MB / 0.7794 GB Notification: Performance of Templates: time 1.362/5.331, allocations: 0.6654 GB / 2.264 GB, free: 142.4 MB / 0.7794 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)