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.0009701/0.0009703, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.0009146/0.0009146, 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.198/1.198, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7225/0.7225, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 66.61 kB / 0.5864 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1193, allocations: 80.91 MB / 0.6654 GB, free: 5.656 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.Simplified5): time 0.5684/0.6877, allocations: 355.6 MB / 1.013 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.4609/1.149, allocations: 72.82 MB / 1.084 GB, free: 37.02 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01252/1.161, allocations: 429.2 kB / 1.084 GB, free: 37.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01129/1.173, allocations: 4.751 MB / 1.089 GB, free: 37.01 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02614/1.199, allocations: 11.61 MB / 1.1 GB, free: 36.61 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01522/1.214, allocations: 7.876 MB / 1.108 GB, free: 36.37 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.03164/1.246, allocations: 29.31 MB / 1.137 GB, free: 36.23 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02066/1.266, allocations: 17.17 MB / 1.153 GB, free: 32.64 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02496/1.291, allocations: 14.55 MB / 1.168 GB, free: 28.61 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01986/1.311, allocations: 13.47 MB / 1.181 GB, free: 20.4 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.005183/1.316, allocations: 1.516 MB / 1.182 GB, free: 18.89 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01626/1.333, allocations: 4.775 MB / 1.187 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.006071/1.339, allocations: 4.75 MB / 1.191 GB, free: 9.934 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.01431/1.353, allocations: 8.561 MB / 1.2 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.03212/1.385, allocations: 23.66 MB / 1.223 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.385, allocations: 7.938 kB / 1.223 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.543e-06/1.385, allocations: 0 / 1.223 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0006398/1.386, allocations: 3.75 kB / 1.223 GB, free: 10.81 MB / 0.8419 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.04672/1.433, allocations: 18.47 MB / 1.241 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/1.433, allocations: 9.109 kB / 1.241 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/1.444, allocations: 2.269 MB / 1.243 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02566/1.47, allocations: 12.91 MB / 1.256 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004853/1.47, allocations: 0.5138 MB / 1.256 GB, free: 8.91 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00291/1.473, allocations: 0.6797 MB / 1.257 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02697/1.5, allocations: 14.01 MB / 1.271 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001326/1.5, allocations: 7.844 kB / 1.271 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001563/1.502, allocations: 248 kB / 1.271 GB, free: 9.812 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001202/1.502, allocations: 156 kB / 1.271 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03114/1.533, allocations: 18.89 MB / 1.289 GB, free: 6.762 MB / 0.9044 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.113/1.646, allocations: 72.23 MB / 1.36 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0167/1.663, allocations: 10.44 MB / 1.37 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01315/1.676, allocations: 9.021 MB / 1.379 GB, free: 8.613 MB / 0.9981 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.05619/1.732, allocations: 30.56 MB / 1.409 GB, free: 9.789 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01387/1.746, allocations: 8.798 MB / 1.417 GB, free: 0.9531 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.018/1.764, allocations: 5.785 MB / 1.423 GB, free: 11.34 MB / 1.045 GB Notification: Performance of pre-optimization done (n=383): time 1.91e-05/1.764, allocations: 3.938 kB / 1.423 GB, free: 11.33 MB / 1.045 GB Notification: Performance of matching and sorting (n=569): time 1.419/3.184, allocations: 205.1 MB / 1.623 GB, free: 361.1 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/3.184, allocations: 115.9 kB / 1.624 GB, free: 361 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01417/3.198, allocations: 12.63 MB / 1.636 GB, free: 348.4 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.002648/3.201, allocations: 173.7 kB / 1.636 GB, free: 348.3 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.003815/3.204, allocations: 5.926 MB / 1.642 GB, free: 342.5 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.002909/3.207, allocations: 1.918 MB / 1.644 GB, free: 340.6 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003613/3.211, allocations: 2.394 MB / 1.646 GB, free: 338.2 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 3.184e-05/3.211, allocations: 309.7 kB / 1.646 GB, free: 337.9 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01372/3.225, allocations: 10.05 MB / 1.656 GB, free: 327.9 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01592/3.241, allocations: 12.26 MB / 1.668 GB, free: 314.7 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03207/3.273, allocations: 21.92 MB / 1.69 GB, free: 292.1 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.964e-05/3.273, allocations: 12 kB / 1.69 GB, free: 292.1 MB / 1.045 GB Notification: Performance of matching and sorting (n=954) (initialization): time 0.6307/3.904, allocations: 125.9 MB / 1.812 GB, free: 166 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.352e-05/3.904, allocations: 49.7 kB / 1.813 GB, free: 166 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.443e-05/3.904, allocations: 44 kB / 1.813 GB, free: 165.9 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6561/4.56, allocations: 136.4 MB / 1.946 GB, free: 29.6 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009315/4.569, allocations: 1.893 MB / 1.948 GB, free: 27.7 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4624/5.032, allocations: 99.54 MB / 2.045 GB, free: 442.9 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01409/5.046, allocations: 0.8425 MB / 2.046 GB, free: 442.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002396/5.048, allocations: 0.7694 MB / 2.046 GB, free: 442.2 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01833/5.066, allocations: 12.3 MB / 2.058 GB, free: 435.4 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01492/5.081, allocations: 11.81 MB / 2.07 GB, free: 427.5 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02905/5.111, allocations: 21.04 MB / 2.09 GB, free: 406.7 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.947e-05/5.111, allocations: 16 kB / 2.091 GB, free: 406.7 MB / 1.045 GB Notification: Performance of matching and sorting (n=954) (initialization_lambda0): time 0.6209/5.731, allocations: 124.5 MB / 2.212 GB, free: 283.7 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/5.732, allocations: 52.42 kB / 2.212 GB, free: 283.6 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.144e-05/5.732, allocations: 44 kB / 2.212 GB, free: 283.6 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6519/6.383, allocations: 136.1 MB / 2.345 GB, free: 147.8 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008309/6.392, allocations: 1.874 MB / 2.347 GB, free: 145.9 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1643/6.556, allocations: 104.2 MB / 2.449 GB, free: 41.56 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01404/6.57, allocations: 0.8576 MB / 2.45 GB, free: 40.7 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002766/6.573, allocations: 0.7446 MB / 2.45 GB, free: 39.96 MB / 1.045 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,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 (675): * Single equations (assignments): 661 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 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): 1 system {(34,41,81.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (7,78)} Notification: Performance of prepare postOptimizeDAE: time 0.002993/6.576, allocations: 0.585 MB / 2.451 GB, free: 39.37 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003644/6.58, allocations: 1.207 MB / 2.452 GB, free: 38.5 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5066/7.086, allocations: 52.37 MB / 2.503 GB, free: 467.2 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1948/7.281, allocations: 46.82 MB / 2.549 GB, free: 458.1 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-05/7.281, allocations: 7.734 kB / 2.549 GB, free: 458.1 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00701/7.288, allocations: 2.552 MB / 2.551 GB, free: 457 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002646/7.291, allocations: 114.3 kB / 2.552 GB, free: 456.9 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009652/7.3, allocations: 0.6858 MB / 2.552 GB, free: 456.6 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004383/7.305, allocations: 0.9338 MB / 2.553 GB, free: 456.1 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05434/7.359, allocations: 23.29 MB / 2.576 GB, free: 438.3 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03723/7.396, allocations: 25.25 MB / 2.6 GB, free: 413.6 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0108/7.407, allocations: 7.92 MB / 2.608 GB, free: 405.6 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.009629/7.417, allocations: 8.605 MB / 2.617 GB, free: 397.1 MB / 1.045 GB Notification: Performance of Backend: time 7.12e-07/7.417, allocations: 0 / 2.617 GB, free: 397.1 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.06755/7.485, allocations: 32.86 MB / 2.649 GB, free: 364.5 MB / 1.045 GB Notification: Performance of SimCode: time 0.04022/7.525, allocations: 29.6 MB / 2.678 GB, free: 335.1 MB / 1.045 GB Notification: Performance of Templates: time 0.7284/8.253, allocations: 427.7 MB / 3.095 GB, free: 418.3 MB / 1.045 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)