Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001502/0.001502, allocations: 109.4 kB / 16.42 MB, free: 6.508 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.001678/0.001678, allocations: 185.5 kB / 17.34 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.331/1.331, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.799/0.799, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 62.31 kB / 0.5821 GB, free: 23.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1336, allocations: 80.2 MB / 0.6605 GB, free: 10.14 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.6222/0.7558, allocations: 355.6 MB / 1.008 GB, free: 3.219 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.5335/1.289, allocations: 72.83 MB / 1.079 GB, free: 36.76 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01371/1.303, allocations: 428.6 kB / 1.079 GB, free: 36.76 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01299/1.316, allocations: 4.754 MB / 1.084 GB, free: 36.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02957/1.346, allocations: 11.6 MB / 1.095 GB, free: 36.42 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0169/1.363, allocations: 7.887 MB / 1.103 GB, free: 36.2 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.03382/1.396, allocations: 29.3 MB / 1.132 GB, free: 36.06 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02501/1.421, allocations: 17.23 MB / 1.148 GB, free: 33.42 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03054/1.452, allocations: 14.56 MB / 1.163 GB, free: 29.95 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02309/1.475, allocations: 13.47 MB / 1.176 GB, free: 23.5 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.006386/1.482, allocations: 1.516 MB / 1.177 GB, free: 21.98 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01754/1.499, allocations: 4.777 MB / 1.182 GB, free: 18.26 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.007379/1.507, allocations: 4.755 MB / 1.187 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.01618/1.523, allocations: 8.556 MB / 1.195 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.03704/1.56, allocations: 23.75 MB / 1.218 GB, free: 128 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/1.56, allocations: 0 / 1.218 GB, free: 128 kB / 0.8262 GB Notification: Performance of FrontEnd: time 2.054e-06/1.56, allocations: 0 / 1.218 GB, free: 128 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.000665/1.561, allocations: 0 / 1.218 GB, free: 128 kB / 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.05101/1.612, allocations: 18.97 MB / 1.237 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/1.612, allocations: 8.031 kB / 1.237 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/1.624, allocations: 2.344 MB / 1.239 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02894/1.653, allocations: 13.03 MB / 1.252 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005996/1.653, allocations: 0.5151 MB / 1.252 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003482/1.657, allocations: 0.6797 MB / 1.253 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03179/1.689, allocations: 14.01 MB / 1.266 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000209/1.689, allocations: 11.94 kB / 1.267 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002477/1.691, allocations: 244 kB / 1.267 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001399/1.691, allocations: 152 kB / 1.267 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03467/1.726, allocations: 18.89 MB / 1.285 GB, free: 11.5 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.1422/1.868, allocations: 72.31 MB / 1.356 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02713/1.895, allocations: 10.45 MB / 1.366 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02222/1.918, allocations: 9.019 MB / 1.375 GB, free: 13.26 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.08613/2.004, allocations: 30.56 MB / 1.405 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0229/2.027, allocations: 8.802 MB / 1.413 GB, free: 5.574 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02947/2.056, allocations: 5.792 MB / 1.419 GB, free: 15.95 MB / 1.045 GB Notification: Performance of pre-optimization done (n=383): time 2.517e-05/2.056, allocations: 3.984 kB / 1.419 GB, free: 15.95 MB / 1.045 GB Notification: Performance of matching and sorting (n=569): time 1.518/3.574, allocations: 205.3 MB / 1.62 GB, free: 369 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/3.574, allocations: 111.9 kB / 1.62 GB, free: 368.8 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01898/3.593, allocations: 12.64 MB / 1.632 GB, free: 356.3 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.003296/3.597, allocations: 169.6 kB / 1.632 GB, free: 356.1 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.005244/3.602, allocations: 5.998 MB / 1.638 GB, free: 350.5 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.003777/3.606, allocations: 2.009 MB / 1.64 GB, free: 348.8 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00772/3.613, allocations: 2.398 MB / 1.642 GB, free: 346.4 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 3.499e-05/3.613, allocations: 301.1 kB / 1.643 GB, free: 346.1 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01637/3.63, allocations: 10.06 MB / 1.652 GB, free: 336 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0197/3.65, allocations: 12.26 MB / 1.664 GB, free: 322.8 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03716/3.687, allocations: 21.92 MB / 1.686 GB, free: 300.2 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.847e-05/3.687, allocations: 12 kB / 1.686 GB, free: 300.2 MB / 1.045 GB Notification: Performance of matching and sorting (n=954) (initialization): time 0.6047/4.291, allocations: 126 MB / 1.809 GB, free: 174.3 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.977e-05/4.292, allocations: 49.7 kB / 1.809 GB, free: 174.2 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-05/4.292, allocations: 48 kB / 1.809 GB, free: 174.2 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6844/4.976, allocations: 136.4 MB / 1.942 GB, free: 38.2 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01001/4.986, allocations: 1.888 MB / 1.944 GB, free: 36.32 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5297/5.516, allocations: 99.58 MB / 2.041 GB, free: 450.8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01595/5.532, allocations: 0.8384 MB / 2.042 GB, free: 450.4 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004257/5.536, allocations: 0.7711 MB / 2.043 GB, free: 450.1 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02423/5.56, allocations: 12.3 MB / 2.055 GB, free: 443.3 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01856/5.579, allocations: 11.81 MB / 2.066 GB, free: 435.4 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03513/5.614, allocations: 21.04 MB / 2.087 GB, free: 418.6 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.27e-05/5.614, allocations: 12 kB / 2.087 GB, free: 418.6 MB / 1.045 GB Notification: Performance of matching and sorting (n=954) (initialization_lambda0): time 0.6837/6.298, allocations: 124.5 MB / 2.209 GB, free: 295.7 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.38e-05/6.298, allocations: 53.7 kB / 2.209 GB, free: 295.6 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.172e-05/6.298, allocations: 44 kB / 2.209 GB, free: 295.6 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6266/6.925, allocations: 136.1 MB / 2.342 GB, free: 159.9 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009467/6.934, allocations: 1.878 MB / 2.343 GB, free: 158 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1927/7.127, allocations: 104.3 MB / 2.445 GB, free: 53.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01471/7.142, allocations: 0.8562 MB / 2.446 GB, free: 52.8 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003174/7.145, allocations: 0.7427 MB / 2.447 GB, free: 52.06 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.004916/7.15, allocations: 0.5847 MB / 2.447 GB, free: 51.5 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005294/7.155, allocations: 1.269 MB / 2.449 GB, free: 50.62 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5446/7.7, allocations: 52.38 MB / 2.5 GB, free: 466.1 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1926/7.892, allocations: 46.82 MB / 2.545 GB, free: 462.2 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.127e-05/7.892, allocations: 0 / 2.545 GB, free: 462.2 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007567/7.9, allocations: 2.615 MB / 2.548 GB, free: 461.6 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004847/7.905, allocations: 129.4 kB / 2.548 GB, free: 461.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01206/7.917, allocations: 0.6756 MB / 2.549 GB, free: 461.4 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005889/7.923, allocations: 0.9335 MB / 2.55 GB, free: 461.3 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06072/7.984, allocations: 23.3 MB / 2.572 GB, free: 451.5 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04483/8.029, allocations: 25.33 MB / 2.597 GB, free: 428.4 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01276/8.041, allocations: 7.921 MB / 2.605 GB, free: 420.4 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.01349/8.055, allocations: 8.593 MB / 2.613 GB, free: 411.9 MB / 1.045 GB Notification: Performance of Backend: time 8.11e-07/8.055, allocations: 0 / 2.613 GB, free: 411.9 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.07777/8.133, allocations: 32.91 MB / 2.645 GB, free: 379.3 MB / 1.045 GB Notification: Performance of SimCode: time 0.04715/8.18, allocations: 30.07 MB / 2.675 GB, free: 349.4 MB / 1.045 GB Notification: Performance of Templates: time 0.8118/8.992, allocations: 427.7 MB / 3.092 GB, free: 433.5 MB / 1.045 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.sim & ./IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)