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.001143/0.001143, allocations: 114.6 kB / 16.42 MB, free: 6.469 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.001153/0.001153, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.199/1.199, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7352/0.7352, allocations: 135.1 MB / 426.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 63.12 kB / 0.5864 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1211, allocations: 80.93 MB / 0.6655 GB, free: 5.629 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.5812/0.7024, allocations: 355.7 MB / 1.013 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.4496/1.152, allocations: 72.81 MB / 1.084 GB, free: 37.27 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01233/1.164, allocations: 428.5 kB / 1.084 GB, free: 37.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01149/1.176, allocations: 4.76 MB / 1.089 GB, free: 37.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02806/1.204, allocations: 11.61 MB / 1.1 GB, free: 36.86 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01634/1.22, allocations: 7.878 MB / 1.108 GB, free: 36.62 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.03086/1.251, allocations: 29.3 MB / 1.137 GB, free: 36.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01975/1.271, allocations: 16.09 MB / 1.152 GB, free: 33.33 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0235/1.295, allocations: 12.9 MB / 1.165 GB, free: 29.54 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01479/1.309, allocations: 9.81 MB / 1.175 GB, free: 24.96 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.003812/1.313, allocations: 1.047 MB / 1.176 GB, free: 23.91 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01575/1.329, allocations: 4.299 MB / 1.18 GB, free: 20.66 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.00458/1.334, allocations: 3.621 MB / 1.183 GB, free: 17.93 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.01245/1.346, allocations: 7.425 MB / 1.191 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.02628/1.372, allocations: 19.47 MB / 1.21 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/1.372, allocations: 0 / 1.21 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/1.372, allocations: 4 kB / 1.21 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0006151/1.373, allocations: 3.75 kB / 1.21 GB, free: 7.758 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.0345/1.407, allocations: 15.72 MB / 1.225 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/1.408, allocations: 9.109 kB / 1.225 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008644/1.416, allocations: 2.129 MB / 1.227 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02434/1.441, allocations: 11.89 MB / 1.239 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000513/1.441, allocations: 0.5116 MB / 1.239 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001982/1.443, allocations: 0.6797 MB / 1.24 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01853/1.462, allocations: 8.964 MB / 1.249 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001825/1.462, allocations: 19.81 kB / 1.249 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001267/1.463, allocations: 255.9 kB / 1.249 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/1.463, allocations: 152 kB / 1.249 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01457/1.478, allocations: 7.33 MB / 1.256 GB, free: 8.016 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.06712/1.545, allocations: 49.38 MB / 1.304 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009647/1.555, allocations: 5.342 MB / 1.31 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006491/1.561, allocations: 3.909 MB / 1.313 GB, free: 10.85 MB / 0.9356 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.02764/1.589, allocations: 13.17 MB / 1.326 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006342/1.595, allocations: 3.643 MB / 1.33 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005696/1.601, allocations: 1.077 MB / 1.331 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=316): time 1.557e-05/1.601, allocations: 0 / 1.331 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of matching and sorting (n=502): time 0.1715/1.772, allocations: 54.44 MB / 1.384 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/1.773, allocations: 107.3 kB / 1.384 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02118/1.794, allocations: 12.87 MB / 1.397 GB, free: 4.543 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001482/1.795, allocations: 161.6 kB / 1.397 GB, free: 4.379 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.006275/1.802, allocations: 6.145 MB / 1.403 GB, free: 14.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.002296/1.804, allocations: 1.691 MB / 1.404 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004186/1.808, allocations: 1.745 MB / 1.406 GB, free: 10.81 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 8.219e-05/1.808, allocations: 305.1 kB / 1.406 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01103/1.819, allocations: 5.879 MB / 1.412 GB, free: 4.621 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01333/1.833, allocations: 8.431 MB / 1.42 GB, free: 11.09 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5288/2.361, allocations: 13.65 MB / 1.434 GB, free: 0.4887 GB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.19e-05/2.361, allocations: 18.59 kB / 1.434 GB, free: 0.4887 GB / 1.045 GB Notification: Performance of matching and sorting (n=950) (initialization): time 0.04141/2.403, allocations: 18.94 MB / 1.452 GB, free: 497.7 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.843e-05/2.403, allocations: 65.56 kB / 1.452 GB, free: 497.6 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.233e-05/2.403, allocations: 59.09 kB / 1.452 GB, free: 497.6 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0142/2.417, allocations: 4.855 MB / 1.457 GB, free: 496.9 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00966/2.427, allocations: 2.017 MB / 1.459 GB, free: 496.8 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/2.44, allocations: 14.43 MB / 1.473 GB, free: 486.9 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01047/2.45, allocations: 0.8135 MB / 1.474 GB, free: 486.8 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000969/2.451, allocations: 497.4 kB / 1.474 GB, free: 486.8 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01314/2.464, allocations: 8.134 MB / 1.482 GB, free: 484.1 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01073/2.475, allocations: 7.981 MB / 1.49 GB, free: 478.6 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01931/2.494, allocations: 12.77 MB / 1.503 GB, free: 470.8 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.829e-05/2.494, allocations: 17.88 kB / 1.503 GB, free: 470.8 MB / 1.045 GB Notification: Performance of matching and sorting (n=950) (initialization_lambda0): time 0.03479/2.529, allocations: 17.51 MB / 1.52 GB, free: 457.7 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.224e-05/2.529, allocations: 62.8 kB / 1.52 GB, free: 457.6 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-05/2.529, allocations: 60 kB / 1.52 GB, free: 457.6 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01131/2.541, allocations: 4.538 MB / 1.524 GB, free: 453 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00867/2.549, allocations: 1.993 MB / 1.526 GB, free: 451 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0193/2.569, allocations: 19.16 MB / 1.545 GB, free: 431.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01084/2.579, allocations: 0.839 MB / 1.546 GB, free: 430.7 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001298/2.581, allocations: 463.8 kB / 1.546 GB, free: 430.2 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.002231/2.583, allocations: 0.6218 MB / 1.547 GB, free: 429.6 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002843/2.586, allocations: 1.206 MB / 1.548 GB, free: 429 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03046/2.616, allocations: 15.06 MB / 1.563 GB, free: 413.9 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02282/2.639, allocations: 12.16 MB / 1.575 GB, free: 401.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/2.639, allocations: 0 / 1.575 GB, free: 401.7 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005306/2.645, allocations: 2.141 MB / 1.577 GB, free: 399.5 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00295/2.648, allocations: 104 kB / 1.577 GB, free: 399.4 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008608/2.656, allocations: 0.6593 MB / 1.577 GB, free: 398.7 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001076/2.657, allocations: 0.5664 MB / 1.578 GB, free: 398.2 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02915/2.686, allocations: 13.16 MB / 1.591 GB, free: 385.1 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02944/2.716, allocations: 16.93 MB / 1.607 GB, free: 368 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008468/2.724, allocations: 4.894 MB / 1.612 GB, free: 363.1 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.01217/2.737, allocations: 8.736 MB / 1.621 GB, free: 354.4 MB / 1.045 GB Notification: Performance of Backend: time 8.22e-07/2.737, allocations: 0 / 1.621 GB, free: 354.4 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.04008/2.777, allocations: 18.28 MB / 1.639 GB, free: 336.3 MB / 1.045 GB Notification: Performance of SimCode: time 0.04361/2.82, allocations: 28.25 MB / 1.666 GB, free: 308.2 MB / 1.045 GB Notification: Performance of Templates: time 0.6032/3.424, allocations: 298.8 MB / 1.958 GB, free: 492.4 MB / 1.045 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)