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.00136/0.00136, allocations: 116.3 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.001451/0.001451, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.295/1.295, 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.7888/0.7888, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 64.72 kB / 0.5821 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1348, allocations: 80.21 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.6189/0.7538, allocations: 355.6 MB / 1.008 GB, free: 3.129 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.5553/1.309, allocations: 72.82 MB / 1.079 GB, free: 37.02 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01896/1.328, allocations: 426.5 kB / 1.079 GB, free: 37.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0196/1.348, allocations: 4.755 MB / 1.084 GB, free: 37.01 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.04886/1.397, allocations: 11.61 MB / 1.095 GB, free: 36.67 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.02909/1.426, allocations: 7.877 MB / 1.103 GB, free: 36.46 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.05031/1.476, allocations: 29.3 MB / 1.132 GB, free: 36.32 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02393/1.5, allocations: 17.23 MB / 1.148 GB, free: 33.69 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02895/1.529, allocations: 14.56 MB / 1.163 GB, free: 30.21 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02329/1.552, allocations: 13.46 MB / 1.176 GB, free: 23.62 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.006351/1.559, allocations: 1.516 MB / 1.177 GB, free: 22.11 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01654/1.575, allocations: 4.769 MB / 1.182 GB, free: 18.39 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.007537/1.583, allocations: 4.758 MB / 1.187 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.01685/1.6, allocations: 8.56 MB / 1.195 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.03796/1.638, allocations: 23.74 MB / 1.218 GB, free: 156 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.638, allocations: 0 / 1.218 GB, free: 156 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.754e-06/1.638, allocations: 0 / 1.218 GB, free: 156 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.000642/1.638, allocations: 0 / 1.218 GB, free: 156 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.0508/1.689, allocations: 18.98 MB / 1.237 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/1.689, allocations: 8.031 kB / 1.237 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01234/1.702, allocations: 2.344 MB / 1.239 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02733/1.729, allocations: 13.03 MB / 1.252 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005109/1.73, allocations: 0.5116 MB / 1.252 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003216/1.733, allocations: 0.6797 MB / 1.253 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02947/1.762, allocations: 14.01 MB / 1.266 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001491/1.762, allocations: 11.59 kB / 1.267 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001925/1.764, allocations: 246 kB / 1.267 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001289/1.764, allocations: 155.9 kB / 1.267 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03493/1.799, allocations: 18.89 MB / 1.285 GB, free: 11.52 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.1187/1.918, allocations: 72.31 MB / 1.356 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01779/1.936, allocations: 10.44 MB / 1.366 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0145/1.951, allocations: 9.027 MB / 1.375 GB, free: 13.27 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.06041/2.011, allocations: 30.56 MB / 1.405 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01621/2.027, allocations: 8.798 MB / 1.413 GB, free: 5.582 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02051/2.048, allocations: 5.788 MB / 1.419 GB, free: 15.96 MB / 1.045 GB Notification: Performance of pre-optimization done (n=383): time 2.449e-05/2.048, allocations: 4 kB / 1.419 GB, free: 15.95 MB / 1.045 GB Notification: Performance of matching and sorting (n=569): time 1.616/3.664, allocations: 205.3 MB / 1.62 GB, free: 368.9 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/3.664, allocations: 107.9 kB / 1.62 GB, free: 368.8 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01958/3.684, allocations: 12.64 MB / 1.632 GB, free: 356.3 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.002792/3.686, allocations: 173.7 kB / 1.632 GB, free: 356.1 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.004948/3.691, allocations: 5.99 MB / 1.638 GB, free: 350.4 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.003602/3.695, allocations: 2.013 MB / 1.64 GB, free: 348.7 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005103/3.7, allocations: 2.394 MB / 1.642 GB, free: 346.3 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 4.257e-05/3.7, allocations: 305.1 kB / 1.643 GB, free: 346 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01612/3.716, allocations: 10.06 MB / 1.652 GB, free: 336 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01865/3.735, allocations: 12.27 MB / 1.664 GB, free: 322.8 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0349/3.77, allocations: 21.92 MB / 1.686 GB, free: 300.1 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.366e-05/3.77, allocations: 12 kB / 1.686 GB, free: 300.1 MB / 1.045 GB Notification: Performance of matching and sorting (n=954) (initialization): time 0.6709/4.441, allocations: 126 MB / 1.809 GB, free: 174.2 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.307e-05/4.441, allocations: 53.69 kB / 1.809 GB, free: 174.2 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.288e-05/4.441, allocations: 52 kB / 1.809 GB, free: 174.1 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7002/5.141, allocations: 136.4 MB / 1.942 GB, free: 38.16 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01028/5.152, allocations: 1.896 MB / 1.944 GB, free: 36.26 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.496/5.648, allocations: 99.58 MB / 2.041 GB, free: 450.6 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01527/5.663, allocations: 0.8341 MB / 2.042 GB, free: 450.2 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002766/5.666, allocations: 0.7683 MB / 2.043 GB, free: 449.8 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0218/5.688, allocations: 12.31 MB / 2.055 GB, free: 443.1 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01712/5.705, allocations: 11.81 MB / 2.066 GB, free: 435.2 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03358/5.738, allocations: 21.03 MB / 2.087 GB, free: 418.5 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.382e-05/5.738, allocations: 15.97 kB / 2.087 GB, free: 418.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=954) (initialization_lambda0): time 0.6671/6.406, allocations: 124.5 MB / 2.209 GB, free: 295.6 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.493e-05/6.406, allocations: 61.69 kB / 2.209 GB, free: 295.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.297e-05/6.406, allocations: 44 kB / 2.209 GB, free: 295.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7051/7.111, allocations: 136.1 MB / 2.342 GB, free: 159.8 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009052/7.12, allocations: 1.871 MB / 2.343 GB, free: 157.9 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1758/7.296, allocations: 104.3 MB / 2.445 GB, free: 53.55 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01568/7.311, allocations: 0.8565 MB / 2.446 GB, free: 52.7 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003001/7.315, allocations: 0.745 MB / 2.447 GB, free: 51.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.003363/7.318, allocations: 0.5892 MB / 2.447 GB, free: 51.39 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004234/7.322, allocations: 1.272 MB / 2.449 GB, free: 50.51 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5491/7.871, allocations: 52.38 MB / 2.5 GB, free: 466.1 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2119/8.083, allocations: 46.81 MB / 2.545 GB, free: 462.3 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.845e-05/8.083, allocations: 4 kB / 2.545 GB, free: 462.3 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007446/8.091, allocations: 2.621 MB / 2.548 GB, free: 461.7 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004469/8.095, allocations: 122 kB / 2.548 GB, free: 461.6 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01302/8.108, allocations: 0.6795 MB / 2.549 GB, free: 461.4 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00656/8.115, allocations: 0.9296 MB / 2.55 GB, free: 461.4 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06272/8.178, allocations: 23.3 MB / 2.572 GB, free: 451.3 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04848/8.226, allocations: 25.32 MB / 2.597 GB, free: 428.2 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01341/8.24, allocations: 7.915 MB / 2.605 GB, free: 420.3 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.01321/8.253, allocations: 8.601 MB / 2.613 GB, free: 411.7 MB / 1.045 GB Notification: Performance of Backend: time 6.62e-07/8.253, allocations: 0 / 2.613 GB, free: 411.7 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.08083/8.334, allocations: 32.92 MB / 2.645 GB, free: 379.1 MB / 1.045 GB Notification: Performance of SimCode: time 0.06904/8.403, allocations: 30.07 MB / 2.675 GB, free: 349.3 MB / 1.045 GB Notification: Performance of Templates: time 0.8101/9.213, allocations: 427.7 MB / 3.092 GB, free: 433.2 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)