Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 118.8 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.001917/0.001917, allocations: 187.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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7738/0.7738, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 64.91 kB / 0.5821 GB, free: 23.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.13, allocations: 80.2 MB / 0.6604 GB, free: 10.17 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.Simplified4): time 0.6096/0.7397, allocations: 355.6 MB / 1.008 GB, free: 3.293 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.5045/1.244, allocations: 72.82 MB / 1.079 GB, free: 36.95 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01497/1.259, allocations: 428.2 kB / 1.079 GB, free: 36.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01452/1.274, allocations: 5.359 MB / 1.084 GB, free: 36.94 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.03592/1.31, allocations: 13.68 MB / 1.098 GB, free: 36.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.02134/1.331, allocations: 9.41 MB / 1.107 GB, free: 36.26 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.04109/1.372, allocations: 34.36 MB / 1.141 GB, free: 35.83 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02641/1.399, allocations: 18.39 MB / 1.159 GB, free: 31.47 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03223/1.431, allocations: 16 MB / 1.174 GB, free: 25.97 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02298/1.454, allocations: 14.55 MB / 1.188 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.006085/1.46, allocations: 1.656 MB / 1.19 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0173/1.477, allocations: 5.665 MB / 1.196 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.007092/1.484, allocations: 5.103 MB / 1.2 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.01828/1.503, allocations: 9.373 MB / 1.21 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.038/1.541, allocations: 26.12 MB / 1.235 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/1.541, allocations: 0 / 1.235 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/1.541, allocations: 4 kB / 1.235 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0007655/1.542, allocations: 0 / 1.235 GB, free: 15.65 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.05326/1.595, allocations: 19.84 MB / 1.255 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/1.595, allocations: 12.03 kB / 1.255 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0114/1.606, allocations: 2.237 MB / 1.257 GB, free: 9.602 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03379/1.64, allocations: 14.29 MB / 1.271 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006775/1.641, allocations: 0.5899 MB / 1.271 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003649/1.644, allocations: 0.7838 MB / 1.272 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03218/1.677, allocations: 14.92 MB / 1.287 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002205/1.677, allocations: 11.84 kB / 1.287 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002252/1.679, allocations: 290.4 kB / 1.287 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001794/1.679, allocations: 191.9 kB / 1.287 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03175/1.711, allocations: 19.3 MB / 1.306 GB, free: 7.227 MB / 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 removeSimpleEquations (simulation): time 0.1199/1.831, allocations: 76.41 MB / 1.381 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01669/1.848, allocations: 10.48 MB / 1.391 GB, free: 13.78 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01311/1.861, allocations: 9.052 MB / 1.4 GB, free: 4.727 MB / 1.014 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.9408/2.802, allocations: 31.44 MB / 1.43 GB, free: 220.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01359/2.815, allocations: 8.802 MB / 1.439 GB, free: 220.2 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01829/2.834, allocations: 5.68 MB / 1.444 GB, free: 220.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=417): time 2.932e-05/2.834, allocations: 3.422 kB / 1.444 GB, free: 220.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=601): time 0.8485/3.682, allocations: 184.5 MB / 1.625 GB, free: 112.6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/3.682, allocations: 116.1 kB / 1.625 GB, free: 112.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02011/3.703, allocations: 13.43 MB / 1.638 GB, free: 99.21 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.003121/3.706, allocations: 177.7 kB / 1.638 GB, free: 99.03 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.005084/3.711, allocations: 6.51 MB / 1.644 GB, free: 92.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.003398/3.714, allocations: 2.032 MB / 1.646 GB, free: 90.63 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003821/3.718, allocations: 2.477 MB / 1.649 GB, free: 88.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 3.459e-05/3.718, allocations: 305.1 kB / 1.649 GB, free: 87.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01449/3.733, allocations: 10.04 MB / 1.659 GB, free: 77.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01626/3.749, allocations: 12.46 MB / 1.671 GB, free: 64.35 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03426/3.783, allocations: 22.2 MB / 1.693 GB, free: 41.58 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.758e-05/3.783, allocations: 16 kB / 1.693 GB, free: 41.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.943/4.726, allocations: 112.5 MB / 1.803 GB, free: 0.5003 GB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 8.374e-05/4.726, allocations: 55.67 kB / 1.803 GB, free: 0.5003 GB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-05/4.726, allocations: 54.28 kB / 1.803 GB, free: 0.5003 GB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6396/5.366, allocations: 117.9 MB / 1.918 GB, free: 468 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01091/5.377, allocations: 2.041 MB / 1.92 GB, free: 466 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1383/5.515, allocations: 81.52 MB / 1.999 GB, free: 384.5 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01602/5.531, allocations: 0.818 MB / 2 GB, free: 383.6 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003224/5.535, allocations: 0.7841 MB / 2.001 GB, free: 382.9 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02064/5.555, allocations: 12.53 MB / 2.013 GB, free: 370.3 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01666/5.572, allocations: 12 MB / 2.025 GB, free: 357.3 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03138/5.603, allocations: 21.3 MB / 2.046 GB, free: 335.4 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.986e-05/5.603, allocations: 16 kB / 2.046 GB, free: 335.4 MB / 1.092 GB Notification: Performance of matching and sorting (n=1025) (initialization_lambda0): time 0.6147/6.218, allocations: 111.1 MB / 2.154 GB, free: 225 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.478e-05/6.218, allocations: 53.7 kB / 2.154 GB, free: 224.9 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.287e-05/6.218, allocations: 52 kB / 2.154 GB, free: 224.9 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6163/6.835, allocations: 117.6 MB / 2.269 GB, free: 107.3 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009846/6.845, allocations: 2.02 MB / 2.271 GB, free: 105.3 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1471/6.992, allocations: 86.05 MB / 2.355 GB, free: 19.07 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01779/7.009, allocations: 0.8446 MB / 2.356 GB, free: 18.23 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003346/7.013, allocations: 0.7451 MB / 2.357 GB, free: 17.48 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (765): * Single equations (assignments): 751 * 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 {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.3142/7.327, allocations: 0.6311 MB / 2.357 GB, free: 0.5057 GB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006492/7.334, allocations: 1.292 MB / 2.359 GB, free: 0.5057 GB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2141/7.548, allocations: 48.27 MB / 2.406 GB, free: 0.5005 GB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1912/7.739, allocations: 42.67 MB / 2.447 GB, free: 498.8 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.252e-05/7.739, allocations: 0 / 2.447 GB, free: 498.8 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008861/7.748, allocations: 2.674 MB / 2.45 GB, free: 497.7 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00687/7.755, allocations: 125.2 kB / 2.45 GB, free: 497.6 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0133/7.768, allocations: 0.6677 MB / 2.451 GB, free: 497.3 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005382/7.773, allocations: 0.8886 MB / 2.452 GB, free: 496.8 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06202/7.836, allocations: 22.82 MB / 2.474 GB, free: 474.8 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04371/7.879, allocations: 25.52 MB / 2.499 GB, free: 449.4 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01195/7.891, allocations: 7.947 MB / 2.507 GB, free: 441.4 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.01393/7.905, allocations: 9.136 MB / 2.516 GB, free: 432.3 MB / 1.092 GB Notification: Performance of Backend: time 7.01e-07/7.905, allocations: 0 / 2.516 GB, free: 432.3 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0736/7.979, allocations: 32.43 MB / 2.547 GB, free: 400.2 MB / 1.092 GB Notification: Performance of SimCode: time 0.05021/8.029, allocations: 31.86 MB / 2.578 GB, free: 368.6 MB / 1.092 GB Notification: Performance of Templates: time 0.8243/8.853, allocations: 441.9 MB / 3.01 GB, free: 475.9 MB / 1.092 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.sim & ./IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)