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.001305/0.001305, allocations: 106.6 kB / 16.27 MB, free: 5.984 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.00123/0.00123, allocations: 189 kB / 17.2 MB, free: 5.609 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.418/1.418, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.82/0.82, allocations: 135.2 MB / 426.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001862, allocations: 63.89 kB / 0.506 GB, free: 8.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3653, allocations: 80.93 MB / 0.5851 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1808/0.5462, allocations: 161.6 MB / 0.7429 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003269/0.5495, allocations: 1.745 MB / 0.7446 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002674/0.5498, allocations: 15.88 kB / 0.7446 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005702/0.5504, allocations: 163 kB / 0.7447 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.5517, allocations: 0.5211 MB / 0.7452 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.5528, allocations: 392.6 kB / 0.7456 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002731/0.5555, allocations: 2.52 MB / 0.7481 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.5568, allocations: 0.9333 MB / 0.749 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.5585, allocations: 1.02 MB / 0.75 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008857/0.5594, allocations: 0.7039 MB / 0.7507 GB, free: 396 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.5595, allocations: 56 kB / 0.7507 GB, free: 340 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3399/0.8994, allocations: 0.7368 MB / 0.7515 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005991/0.9, allocations: 307 kB / 0.7517 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.9011, allocations: 0.5419 MB / 0.7523 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00186/0.903, allocations: 1.389 MB / 0.7536 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.903, allocations: 0 / 0.7536 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.544e-06/0.903, allocations: 0 / 0.7536 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.474e-05/0.903, allocations: 1.094 kB / 0.7536 GB, free: 3.887 MB / 0.5762 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.002047/0.9051, allocations: 1.451 MB / 0.755 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.9051, allocations: 16.7 kB / 0.7551 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007106/0.9058, allocations: 187.4 kB / 0.7552 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00097/0.9068, allocations: 0.796 MB / 0.756 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.9068, allocations: 45.66 kB / 0.7561 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.377e-05/0.9069, allocations: 63.02 kB / 0.7561 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009436/0.9079, allocations: 0.7894 MB / 0.7569 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.9079, allocations: 0.6875 kB / 0.7569 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.791e-05/0.908, allocations: 30.81 kB / 0.7569 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.908, allocations: 13.61 kB / 0.7569 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008464/0.9088, allocations: 0.5341 MB / 0.7575 GB, free: 2.41 MB / 0.5762 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.004538/0.9134, allocations: 4.606 MB / 0.762 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007463/0.9141, allocations: 422.5 kB / 0.7624 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000397/0.9145, allocations: 243 kB / 0.7626 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003229/0.9149, allocations: 196.3 kB / 0.7628 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005384/0.9154, allocations: 287.5 kB / 0.7631 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.823e-06/0.9154, allocations: 0 / 0.7631 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001545/0.917, allocations: 0.6321 MB / 0.7637 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/0.9171, allocations: 95.89 kB / 0.7638 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.9188, allocations: 1.119 MB / 0.7649 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.607e-05/0.9189, allocations: 36.05 kB / 0.7649 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.9192, allocations: 491.4 kB / 0.7654 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.337e-05/0.9193, allocations: 104.8 kB / 0.7655 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.9195, allocations: 115.5 kB / 0.7656 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.9196, allocations: 322.5 kB / 0.7659 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.92, allocations: 216.5 kB / 0.7661 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005109/0.9205, allocations: 0.5163 MB / 0.7666 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009536/0.9214, allocations: 0.6392 MB / 0.7672 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.9215, allocations: 3.297 kB / 0.7672 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001187/0.9227, allocations: 0.7188 MB / 0.7679 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.237e-05/0.9227, allocations: 35.61 kB / 0.7679 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.9228, allocations: 6.438 kB / 0.768 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.9228, allocations: 16.25 kB / 0.768 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/0.9245, allocations: 357 kB / 0.7683 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004183/0.9287, allocations: 6.08 MB / 0.7742 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009322/0.9296, allocations: 80.09 kB / 0.7743 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.041e-05/0.9297, allocations: 27.53 kB / 0.7744 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008576/0.9306, allocations: 0.4935 MB / 0.7748 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005649/0.9312, allocations: 497.5 kB / 0.7753 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008017/0.932, allocations: 0.5527 MB / 0.7758 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.629e-06/0.932, allocations: 2.125 kB / 0.7758 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001054/0.933, allocations: 0.6445 MB / 0.7765 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/0.9331, allocations: 33.7 kB / 0.7765 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.9331, allocations: 5.75 kB / 0.7765 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.9331, allocations: 8.656 kB / 0.7765 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005049/0.9336, allocations: 155.4 kB / 0.7767 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.9336, allocations: 8.969 kB / 0.7767 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006642/0.9343, allocations: 76.23 kB / 0.7768 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/0.9344, allocations: 22.12 kB / 0.7768 GB, free: 6.32 MB / 0.5919 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.0002453/0.9346, allocations: 218.8 kB / 0.777 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.9347, allocations: 100.9 kB / 0.7771 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008708/0.9356, allocations: 491 kB / 0.7775 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.9356, allocations: 5.438 kB / 0.7776 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.9357, allocations: 4.844 kB / 0.7776 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.9357, allocations: 5.391 kB / 0.7776 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.9376, allocations: 1.384 MB / 0.7789 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.9376, allocations: 3.219 kB / 0.7789 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005705/0.9382, allocations: 150.2 kB / 0.7791 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.9382, allocations: 2.438 kB / 0.7791 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.9382, allocations: 9.891 kB / 0.7791 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003708/0.9419, allocations: 6.025 MB / 0.785 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.942, allocations: 5.5 kB / 0.785 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009458/0.9429, allocations: 0.6005 MB / 0.7855 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003716/0.9433, allocations: 214.5 kB / 0.7858 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.9434, allocations: 11.66 kB / 0.7858 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003864/0.9438, allocations: 20.19 kB / 0.7858 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.948e-05/0.9439, allocations: 26.55 kB / 0.7858 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.9439, allocations: 15.38 kB / 0.7858 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009563/0.9449, allocations: 0.789 MB / 0.7866 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.021e-06/0.9449, allocations: 0.9062 kB / 0.7866 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001188/0.9461, allocations: 410.3 kB / 0.787 GB, free: 15.19 MB / 0.6075 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.0004753/0.9466, allocations: 186.2 kB / 0.7872 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00294/0.9495, allocations: 1.13 MB / 0.7883 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.9496, allocations: 0.9375 kB / 0.7883 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006868/0.9502, allocations: 288.1 kB / 0.7885 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/0.9521, allocations: 453.6 kB / 0.789 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002812/0.9549, allocations: 1.857 MB / 0.7908 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00073/0.9557, allocations: 1.187 MB / 0.7919 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.9559, allocations: 71.48 kB / 0.792 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.9559, allocations: 0 / 0.792 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of Templates: time 0.07024/1.026, allocations: 64.26 MB / 0.8548 GB, free: 456 kB / 0.6387 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)