Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009706/0.0009706, allocations: 86.8 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.001231, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.03/1.03, allocations: 135.3 MB / 426.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003381, allocations: 12.64 kB / 0.507 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1741, allocations: 82.3 MB / 0.5874 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified5): time 1.009/1.183, allocations: 328.6 MB / 0.9083 GB, free: 55.75 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.1021/1.285, allocations: 68.55 MB / 0.9752 GB, free: 54.47 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01951/1.305, allocations: 367.5 kB / 0.9756 GB, free: 54.47 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01585/1.321, allocations: 3.143 MB / 0.9786 GB, free: 54.03 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.03526/1.356, allocations: 8.876 MB / 0.9873 GB, free: 49.51 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01909/1.375, allocations: 6.04 MB / 0.9932 GB, free: 46.28 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.04032/1.415, allocations: 32.79 MB / 1.025 GB, free: 23.5 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0201/1.436, allocations: 14.24 MB / 1.039 GB, free: 9.871 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02796/1.464, allocations: 11.9 MB / 1.051 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0284/1.492, allocations: 12.6 MB / 1.063 GB, free: 2.84 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.006525/1.499, allocations: 0.9648 MB / 1.064 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01808/1.517, allocations: 3.345 MB / 1.067 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.008924/1.526, allocations: 4.041 MB / 1.071 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.009187/1.535, allocations: 2.647 MB / 1.074 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.02906/1.564, allocations: 17.57 MB / 1.091 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.564, allocations: 0 / 1.091 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.214e-06/1.564, allocations: 4 kB / 1.091 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0007789/1.565, allocations: 0 / 1.091 GB, free: 7.297 MB / 0.7169 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.0438/1.609, allocations: 17.22 MB / 1.108 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/1.609, allocations: 8.031 kB / 1.108 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/1.62, allocations: 2.379 MB / 1.11 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03208/1.652, allocations: 12.19 MB / 1.122 GB, free: 7.809 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001672/1.654, allocations: 0.7795 MB / 1.123 GB, free: 7.027 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004037/1.658, allocations: 0.6947 MB / 1.123 GB, free: 6.336 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03511/1.693, allocations: 14.03 MB / 1.137 GB, free: 8.164 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002457/1.694, allocations: 7.938 kB / 1.137 GB, free: 8.156 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002771/1.696, allocations: 244 kB / 1.137 GB, free: 7.918 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001592/1.696, allocations: 152 kB / 1.138 GB, free: 7.77 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03586/1.732, allocations: 19.01 MB / 1.156 GB, free: 4.754 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.4291/2.161, allocations: 73.49 MB / 1.228 GB, free: 261.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01791/2.179, allocations: 10.62 MB / 1.238 GB, free: 257.1 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01436/2.194, allocations: 9.128 MB / 1.247 GB, free: 253.3 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.06253/2.256, allocations: 31.92 MB / 1.278 GB, free: 231.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01513/2.272, allocations: 8.885 MB / 1.287 GB, free: 226 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02724/2.299, allocations: 9.955 MB / 1.297 GB, free: 216.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=387): time 3.608e-05/2.299, allocations: 0 / 1.297 GB, free: 216.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=573): time 1.195/3.494, allocations: 219.6 MB / 1.511 GB, free: 271.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/3.494, allocations: 114 kB / 1.511 GB, free: 271.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02089/3.515, allocations: 12.47 MB / 1.523 GB, free: 268.9 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.003592/3.518, allocations: 173 kB / 1.524 GB, free: 268.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.005682/3.524, allocations: 5.964 MB / 1.529 GB, free: 265.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.004099/3.528, allocations: 1.927 MB / 1.531 GB, free: 264.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001761/3.53, allocations: 145.7 kB / 1.532 GB, free: 264.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0003634/3.53, allocations: 0.5978 MB / 1.532 GB, free: 263.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01697/3.547, allocations: 9.391 MB / 1.541 GB, free: 260.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02262/3.57, allocations: 11.71 MB / 1.553 GB, free: 254.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02448/3.595, allocations: 10.2 MB / 1.563 GB, free: 250.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001898/3.595, allocations: 14.8 kB / 1.563 GB, free: 250.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.6272/4.222, allocations: 139.3 MB / 1.699 GB, free: 157.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009405/4.223, allocations: 1.533 MB / 1.7 GB, free: 155.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001184/4.223, allocations: 44 kB / 1.7 GB, free: 155.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9788/5.202, allocations: 166.1 MB / 1.862 GB, free: 252.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01297/5.215, allocations: 1.949 MB / 1.864 GB, free: 252.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2021/5.417, allocations: 95.45 MB / 1.958 GB, free: 211.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02119/5.438, allocations: 1.223 MB / 1.959 GB, free: 210.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004784/5.443, allocations: 0.7684 MB / 1.96 GB, free: 210 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/5.443, allocations: 4 kB / 1.96 GB, free: 210 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6121/6.055, allocations: 138.2 MB / 2.094 GB, free: 71.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001806/6.056, allocations: 44 kB / 2.095 GB, free: 71.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062/7.117, allocations: 165.8 MB / 2.256 GB, free: 224.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009169/7.126, allocations: 1.932 MB / 2.258 GB, free: 223.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1951/7.321, allocations: 99.54 MB / 2.356 GB, free: 125.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01972/7.341, allocations: 1.205 MB / 2.357 GB, free: 124.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004987/7.346, allocations: 0.7449 MB / 2.357 GB, free: 124 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,stepPump.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,pumpHea.stage,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (683): * Single equations (assignments): 669 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(32,82.2%) 39} * Non-linear torn systems: 2 {7 78,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01398/7.36, allocations: 3.095 MB / 2.36 GB, free: 121 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00699/7.367, allocations: 1.203 MB / 2.362 GB, free: 120.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2056/7.573, allocations: 53.57 MB / 2.414 GB, free: 66.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001509/7.573, allocations: 71.98 kB / 2.414 GB, free: 66.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002478/7.573, allocations: 40 kB / 2.414 GB, free: 66.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5995/8.173, allocations: 47.95 MB / 2.461 GB, free: 226.1 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.344/8.517, allocations: 67.64 MB / 2.527 GB, free: 215.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.694e-05/8.517, allocations: 7.094 kB / 2.527 GB, free: 215.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007269/8.524, allocations: 1.354 MB / 2.528 GB, free: 215 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1903/8.715, allocations: 49.25 MB / 2.576 GB, free: 213.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002679/8.717, allocations: 200.3 kB / 2.577 GB, free: 213.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08204/8.8, allocations: 41.4 MB / 2.617 GB, free: 177.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/8.8, allocations: 12.03 kB / 2.617 GB, free: 177.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3107/9.11, allocations: 60.5 MB / 2.676 GB, free: 118.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01232/9.123, allocations: 2.728 MB / 2.679 GB, free: 115.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005231/9.128, allocations: 128 kB / 2.679 GB, free: 115.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01375/9.142, allocations: 1.027 MB / 2.68 GB, free: 114.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003013/9.145, allocations: 0.493 MB / 2.68 GB, free: 113.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001994/9.147, allocations: 279.8 kB / 2.681 GB, free: 113.6 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.01606/9.163, allocations: 8.445 MB / 2.689 GB, free: 105.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.3e-07/9.163, allocations: 0 / 2.689 GB, free: 105.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0427/9.206, allocations: 6.924 MB / 2.696 GB, free: 98.36 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 (504): * Single equations (assignments): 482 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(31,84.4%) 40} * Non-linear torn systems: 3 {9 78,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.005076/9.211, allocations: 1.293 MB / 2.697 GB, free: 97.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.08717/9.298, allocations: 38.35 MB / 2.734 GB, free: 59.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/9.298, allocations: 4 kB / 2.734 GB, free: 59.13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.02348/9.321, allocations: 10.87 MB / 2.745 GB, free: 48.33 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03499/9.356, allocations: 6.293 MB / 2.751 GB, free: 42.52 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6728/10.03, allocations: 31.11 MB / 2.782 GB, free: 247.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01424/10.04, allocations: 7.134 MB / 2.788 GB, free: 246.6 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.01858/10.06, allocations: 3.736 MB / 2.792 GB, free: 246.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00446/10.07, allocations: 0.9493 MB / 2.793 GB, free: 246.4 MB / 0.7794 GB Notification: Performance of SimCode: time 1.342e-06/10.07, allocations: 3.938 kB / 2.793 GB, free: 246.4 MB / 0.7794 GB Notification: Performance of Templates: time 0.8413/10.91, allocations: 392.7 MB / 3.177 GB, free: 222.4 MB / 0.7794 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)