Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002005/0.002005, allocations: 109.9 kB / 16.4 MB, free: 6.375 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.002261/0.002261, allocations: 187.8 kB / 17.33 MB, free: 5.84 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.479/1.479, 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.8352/0.8352, allocations: 135.2 MB / 426.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002618/0.002618, allocations: 68.36 kB / 0.5863 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1811, allocations: 80.93 MB / 0.6653 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.614/0.795, allocations: 162 MB / 0.8236 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003463/0.7985, allocations: 1.77 MB / 0.8253 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003595/0.7989, allocations: 15.19 kB / 0.8253 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006821/0.7995, allocations: 169.9 kB / 0.8255 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.8011, allocations: 0.5407 MB / 0.826 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.8023, allocations: 395.2 kB / 0.8264 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00278/0.8051, allocations: 2.522 MB / 0.8289 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.8063, allocations: 0.7942 MB / 0.8296 GB, free: 100 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001902/0.8082, allocations: 1.043 MB / 0.8307 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009342/0.8091, allocations: 0.7087 MB / 0.8314 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.833e-05/0.8092, allocations: 55.41 kB / 0.8314 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.8107, allocations: 0.7459 MB / 0.8321 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003373/0.811, allocations: 309.6 kB / 0.8324 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006775/0.8117, allocations: 0.5388 MB / 0.833 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001715/0.8134, allocations: 1.413 MB / 0.8343 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.8134, allocations: 4 kB / 0.8343 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8134, allocations: 2.812 kB / 0.8343 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.8134, allocations: 0 / 0.8343 GB, free: 13.36 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002471/0.8159, allocations: 1.496 MB / 0.8358 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.8159, allocations: 10.95 kB / 0.8358 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007628/0.8167, allocations: 187.7 kB / 0.836 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.818, allocations: 0.8597 MB / 0.8368 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.8181, allocations: 42.16 kB / 0.8369 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.913e-05/0.8182, allocations: 59.25 kB / 0.8369 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.8194, allocations: 0.7935 MB / 0.8377 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.8194, allocations: 3.938 kB / 0.8377 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.343e-05/0.8195, allocations: 22.88 kB / 0.8377 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.8195, allocations: 13.06 kB / 0.8377 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009127/0.8204, allocations: 0.5388 MB / 0.8383 GB, free: 10.58 MB / 0.6075 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.004433/0.8248, allocations: 4.599 MB / 0.8428 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000718/0.8255, allocations: 403.2 kB / 0.8431 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003738/0.8259, allocations: 227.3 kB / 0.8434 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003277/0.8263, allocations: 199.8 kB / 0.8436 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005117/0.8268, allocations: 285.7 kB / 0.8438 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 1.843e-06/0.8268, allocations: 0 / 0.8438 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.001478/0.8282, allocations: 0.6438 MB / 0.8445 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/0.8283, allocations: 83.05 kB / 0.8445 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.8297, allocations: 1.115 MB / 0.8456 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.962e-05/0.8297, allocations: 39.67 kB / 0.8457 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004399/0.8302, allocations: 492.8 kB / 0.8461 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.8303, allocations: 114.8 kB / 0.8462 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.8304, allocations: 115.2 kB / 0.8463 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.8306, allocations: 329.6 kB / 0.8467 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003852/0.831, allocations: 213 kB / 0.8469 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00065/0.8316, allocations: 0.5267 MB / 0.8474 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000882/0.8325, allocations: 0.6239 MB / 0.848 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.8325, allocations: 2.719 kB / 0.848 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001203/0.8337, allocations: 0.7325 MB / 0.8487 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.606e-05/0.8338, allocations: 42.06 kB / 0.8487 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.8338, allocations: 4.594 kB / 0.8488 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.8338, allocations: 7.906 kB / 0.8488 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/0.8355, allocations: 352 kB / 0.8491 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004068/0.8396, allocations: 6.082 MB / 0.855 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008817/0.8405, allocations: 79.94 kB / 0.8551 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.486e-05/0.8405, allocations: 19.91 kB / 0.8551 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008469/0.8414, allocations: 0.4984 MB / 0.8556 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006223/0.842, allocations: 493.9 kB / 0.8561 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008394/0.8428, allocations: 0.5567 MB / 0.8566 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.939e-06/0.8428, allocations: 8.156 kB / 0.8566 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001199/0.844, allocations: 0.643 MB / 0.8573 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/0.8441, allocations: 41.64 kB / 0.8573 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.8441, allocations: 8 kB / 0.8573 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.8441, allocations: 11.98 kB / 0.8573 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005381/0.8446, allocations: 151.9 kB / 0.8575 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.8447, allocations: 8 kB / 0.8575 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000648/0.8453, allocations: 68.92 kB / 0.8575 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.8453, allocations: 24 kB / 0.8576 GB, free: 9.141 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * 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): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000239/0.8456, allocations: 220.1 kB / 0.8578 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.8457, allocations: 103.3 kB / 0.8579 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.8468, allocations: 0.495 MB / 0.8584 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.8468, allocations: 4 kB / 0.8584 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.8468, allocations: 0 / 0.8584 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.8468, allocations: 0 / 0.8584 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.849, allocations: 1.387 MB / 0.8597 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.849, allocations: 0 / 0.8597 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006105/0.8496, allocations: 151.8 kB / 0.8599 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.8496, allocations: 4.219 kB / 0.8599 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.8496, allocations: 15.94 kB / 0.8599 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003602/0.8532, allocations: 6.021 MB / 0.8658 GB, free: 436 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.348e-06/0.8532, allocations: 11.91 kB / 0.8658 GB, free: 424 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.8543, allocations: 0.5951 MB / 0.8664 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004119/0.8547, allocations: 212.4 kB / 0.8666 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.8548, allocations: 8 kB / 0.8666 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003952/0.8552, allocations: 23.97 kB / 0.8666 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.8553, allocations: 35.84 kB / 0.8666 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.8554, allocations: 8.141 kB / 0.8666 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001176/0.8565, allocations: 0.7953 MB / 0.8674 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.8565, allocations: 0 / 0.8674 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001269/0.8578, allocations: 407.5 kB / 0.8678 GB, free: 14.28 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * 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): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005036/0.8583, allocations: 177.9 kB / 0.868 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003264/0.8616, allocations: 1.062 MB / 0.869 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.8616, allocations: 4.312 kB / 0.869 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007952/0.8624, allocations: 271.6 kB / 0.8693 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/0.8646, allocations: 455.3 kB / 0.8697 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/0.8679, allocations: 1.865 MB / 0.8715 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009055/0.8688, allocations: 1.184 MB / 0.8727 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.869, allocations: 71.36 kB / 0.8727 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of SimCode: time 1.333e-06/0.869, allocations: 4 kB / 0.8727 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of Templates: time 0.07352/0.9426, allocations: 64.45 MB / 0.9357 GB, free: 8.637 MB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)