Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Examples.FlowSystem.Simplified6") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001259/0.001259, allocations: 116.2 kB / 16.42 MB, free: 6.496 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.001255/0.001255, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.306/1.306, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7897/0.7897, allocations: 132.2 MB / 423.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.06 kB / 0.5822 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1315, allocations: 80.21 MB / 0.6605 GB, free: 10.11 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpSouth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpNorth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpHea.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpCoo.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified6): time 0.6385/0.77, allocations: 355.7 MB / 1.008 GB, free: 3.336 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.5105/1.281, allocations: 72.83 MB / 1.079 GB, free: 37.03 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01346/1.294, allocations: 428.2 kB / 1.079 GB, free: 37.03 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01264/1.307, allocations: 4.753 MB / 1.084 GB, free: 37.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.03445/1.341, allocations: 11.61 MB / 1.095 GB, free: 36.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01823/1.359, allocations: 7.883 MB / 1.103 GB, free: 36.46 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.03657/1.396, allocations: 29.28 MB / 1.132 GB, free: 36.33 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02597/1.422, allocations: 16.08 MB / 1.147 GB, free: 34.15 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02901/1.451, allocations: 12.92 MB / 1.16 GB, free: 30.96 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01741/1.469, allocations: 9.804 MB / 1.17 GB, free: 27.38 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.005339/1.474, allocations: 1.046 MB / 1.171 GB, free: 27.03 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01624/1.49, allocations: 4.306 MB / 1.175 GB, free: 23.78 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.005948/1.496, allocations: 3.614 MB / 1.178 GB, free: 21.46 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.01458/1.511, allocations: 7.431 MB / 1.186 GB, free: 16.06 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.02706/1.538, allocations: 19.47 MB / 1.205 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.538, allocations: 0 / 1.205 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.723e-06/1.538, allocations: 0 / 1.205 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0006584/1.539, allocations: 0 / 1.205 GB, free: 13.26 MB / 0.8262 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.03836/1.577, allocations: 15.72 MB / 1.22 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.577, allocations: 12.03 kB / 1.22 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009847/1.587, allocations: 2.133 MB / 1.222 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02673/1.614, allocations: 11.88 MB / 1.234 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000605/1.614, allocations: 0.5116 MB / 1.234 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002595/1.617, allocations: 0.6835 MB / 1.235 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02227/1.639, allocations: 8.957 MB / 1.244 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001715/1.639, allocations: 23.75 kB / 1.244 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001446/1.641, allocations: 257.6 kB / 1.244 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001445/1.641, allocations: 156 kB / 1.244 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01624/1.657, allocations: 7.318 MB / 1.251 GB, free: 13.5 MB / 0.8731 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.07229/1.73, allocations: 49.37 MB / 1.299 GB, free: 9.336 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/1.74, allocations: 5.359 MB / 1.305 GB, free: 4.238 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006853/1.747, allocations: 3.898 MB / 1.308 GB, free: 360 kB / 0.92 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.03003/1.777, allocations: 13.17 MB / 1.321 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007041/1.784, allocations: 3.646 MB / 1.325 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006192/1.79, allocations: 1.077 MB / 1.326 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=316): time 1.222e-05/1.79, allocations: 0 / 1.326 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=502): time 0.1859/1.976, allocations: 54.44 MB / 1.379 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/1.976, allocations: 103.3 kB / 1.379 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01965/1.996, allocations: 12.88 MB / 1.392 GB, free: 10.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001304/1.997, allocations: 157.7 kB / 1.392 GB, free: 9.91 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.005147/2.002, allocations: 6.151 MB / 1.398 GB, free: 3.758 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001777/2.004, allocations: 1.691 MB / 1.399 GB, free: 2.082 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002636/2.007, allocations: 1.739 MB / 1.401 GB, free: 344 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.238e-05/2.007, allocations: 309.1 kB / 1.401 GB, free: 32 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01148/2.018, allocations: 5.875 MB / 1.407 GB, free: 10.15 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01325/2.032, allocations: 8.444 MB / 1.415 GB, free: 0.6055 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02517/2.057, allocations: 13.65 MB / 1.429 GB, free: 2.074 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.793e-05/2.057, allocations: 20 kB / 1.429 GB, free: 2.055 MB / 1.045 GB Notification: Performance of matching and sorting (n=950) (initialization): time 0.5844/2.641, allocations: 18.94 MB / 1.447 GB, free: 0.4965 GB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.904e-05/2.641, allocations: 56.39 kB / 1.447 GB, free: 0.4965 GB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.461e-05/2.641, allocations: 70.25 kB / 1.447 GB, free: 0.4965 GB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01575/2.657, allocations: 4.858 MB / 1.452 GB, free: 0.4958 GB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01059/2.668, allocations: 2.013 MB / 1.454 GB, free: 0.4957 GB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01361/2.681, allocations: 14.43 MB / 1.468 GB, free: 497.7 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01167/2.693, allocations: 0.8158 MB / 1.469 GB, free: 497.6 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001468/2.695, allocations: 495.2 kB / 1.469 GB, free: 497.6 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01424/2.709, allocations: 8.125 MB / 1.477 GB, free: 494.9 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01143/2.72, allocations: 7.984 MB / 1.485 GB, free: 490 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02066/2.741, allocations: 12.77 MB / 1.498 GB, free: 482.2 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.727e-05/2.741, allocations: 16.91 kB / 1.498 GB, free: 482.2 MB / 1.045 GB Notification: Performance of matching and sorting (n=950) (initialization_lambda0): time 0.03681/2.778, allocations: 17.51 MB / 1.515 GB, free: 468 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.052e-05/2.778, allocations: 66.94 kB / 1.515 GB, free: 468 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.6e-05/2.778, allocations: 60 kB / 1.515 GB, free: 467.9 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01207/2.79, allocations: 4.555 MB / 1.519 GB, free: 463.4 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009168/2.799, allocations: 1.993 MB / 1.521 GB, free: 461.4 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02012/2.82, allocations: 19.12 MB / 1.54 GB, free: 441.9 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01128/2.831, allocations: 0.8426 MB / 1.541 GB, free: 441 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009567/2.832, allocations: 464.4 kB / 1.541 GB, free: 440.6 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 273 * 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 (739): * Single equations (assignments): 724 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * 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): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.001772/2.834, allocations: 0.6192 MB / 1.542 GB, free: 440 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002275/2.836, allocations: 1.203 MB / 1.543 GB, free: 439.4 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02995/2.866, allocations: 15.06 MB / 1.558 GB, free: 424.3 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02394/2.89, allocations: 12.16 MB / 1.57 GB, free: 412 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/2.89, allocations: 0 / 1.57 GB, free: 412 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005897/2.896, allocations: 2.144 MB / 1.572 GB, free: 409.8 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002987/2.899, allocations: 100 kB / 1.572 GB, free: 409.8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008501/2.907, allocations: 0.6587 MB / 1.572 GB, free: 409.1 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001078/2.908, allocations: 0.5625 MB / 1.573 GB, free: 408.5 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03045/2.939, allocations: 13.17 MB / 1.586 GB, free: 395.4 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03009/2.969, allocations: 16.91 MB / 1.602 GB, free: 378.3 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009251/2.978, allocations: 4.898 MB / 1.607 GB, free: 373.4 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.01202/2.99, allocations: 8.74 MB / 1.616 GB, free: 364.7 MB / 1.045 GB Notification: Performance of Backend: time 1.353e-06/2.99, allocations: 15.38 kB / 1.616 GB, free: 364.7 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.04023/3.031, allocations: 18.28 MB / 1.634 GB, free: 346.7 MB / 1.045 GB Notification: Performance of SimCode: time 0.04724/3.078, allocations: 28.26 MB / 1.661 GB, free: 318.6 MB / 1.045 GB Notification: Performance of Templates: time 0.349/3.427, allocations: 298.8 MB / 1.953 GB, free: 21.31 MB / 1.045 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.sim & ./IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)