Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001111/0.001111, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00118/0.00118, allocations: 196.3 kB / 16.14 MB, free: 6.703 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.341/1.341, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.795/0.795, allocations: 132.2 MB / 422.2 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.94 kB / 0.5011 GB, free: 4.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4318, allocations: 80.19 MB / 0.5794 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.177/0.6088, allocations: 159.4 MB / 0.7351 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003086/0.6119, allocations: 1.783 MB / 0.7368 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003276/0.6123, allocations: 7.938 kB / 0.7368 GB, free: 80 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005628/0.6128, allocations: 139.2 kB / 0.7369 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.6141, allocations: 0.498 MB / 0.7374 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009745/0.6151, allocations: 348.9 kB / 0.7378 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003034/0.6181, allocations: 3.471 MB / 0.7411 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000947/0.6191, allocations: 0.7587 MB / 0.7419 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.6206, allocations: 0.9064 MB / 0.7428 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008399/0.6215, allocations: 0.7312 MB / 0.7435 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.376e-05/0.6216, allocations: 36 kB / 0.7435 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.623, allocations: 0.8029 MB / 0.7443 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000281/0.6233, allocations: 290.8 kB / 0.7446 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005901/0.6239, allocations: 0.5089 MB / 0.7451 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.6254, allocations: 1.378 MB / 0.7464 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.6254, allocations: 4 kB / 0.7464 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6254, allocations: 0 / 0.7464 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.6255, allocations: 0 / 0.7464 GB, free: 6.184 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.002243/0.6277, allocations: 1.459 MB / 0.7479 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.6278, allocations: 8.031 kB / 0.7479 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007709/0.6285, allocations: 194.4 kB / 0.748 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.6296, allocations: 0.7983 MB / 0.7488 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.6297, allocations: 41 kB / 0.7489 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.409e-05/0.6298, allocations: 64 kB / 0.7489 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.6309, allocations: 0.7888 MB / 0.7497 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.6309, allocations: 3.938 kB / 0.7497 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.942e-05/0.631, allocations: 20 kB / 0.7497 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.631, allocations: 15.98 kB / 0.7497 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008875/0.6319, allocations: 0.5422 MB / 0.7503 GB, free: 2.066 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.003748/0.6357, allocations: 4.579 MB / 0.7547 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007358/0.6364, allocations: 426.2 kB / 0.7551 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003789/0.6368, allocations: 243 kB / 0.7554 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002903/0.6371, allocations: 190.2 kB / 0.7556 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004991/0.6376, allocations: 293.1 kB / 0.7558 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.813e-06/0.6376, allocations: 0 / 0.7558 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001383/0.639, allocations: 0.6351 MB / 0.7565 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.6391, allocations: 81.11 kB / 0.7565 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.6404, allocations: 1.114 MB / 0.7576 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.6405, allocations: 37.7 kB / 0.7577 GB, free: 10 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/0.6408, allocations: 0.496 MB / 0.7581 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.684e-05/0.6409, allocations: 110.5 kB / 0.7582 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.6411, allocations: 109.9 kB / 0.7583 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.6412, allocations: 333.9 kB / 0.7587 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/0.6416, allocations: 210.4 kB / 0.7589 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005851/0.6422, allocations: 0.5213 MB / 0.7594 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008525/0.643, allocations: 0.6294 MB / 0.76 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.6431, allocations: 0 / 0.76 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001198/0.6443, allocations: 0.7134 MB / 0.7607 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.034e-05/0.6443, allocations: 37.69 kB / 0.7607 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.6443, allocations: 8 kB / 0.7607 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.6444, allocations: 8 kB / 0.7607 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/0.6462, allocations: 355.9 kB / 0.7611 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003299/0.6495, allocations: 6.087 MB / 0.767 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008257/0.6504, allocations: 95.55 kB / 0.7671 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/0.6504, allocations: 24 kB / 0.7671 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007302/0.6512, allocations: 0.5005 MB / 0.7676 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005376/0.6517, allocations: 489.9 kB / 0.7681 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000813/0.6525, allocations: 0.5527 MB / 0.7686 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.907e-06/0.6526, allocations: 8 kB / 0.7686 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001083/0.6537, allocations: 0.6467 MB / 0.7693 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.6537, allocations: 33.7 kB / 0.7693 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.6537, allocations: 8 kB / 0.7693 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.6537, allocations: 8 kB / 0.7693 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005536/0.6543, allocations: 155.9 kB / 0.7695 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.6543, allocations: 11.94 kB / 0.7695 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000675/0.655, allocations: 84 kB / 0.7696 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.655, allocations: 24 kB / 0.7696 GB, free: 13.06 MB / 0.6075 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.0002016/0.6552, allocations: 220.7 kB / 0.7698 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.6554, allocations: 94.78 kB / 0.7699 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009299/0.6563, allocations: 0.495 MB / 0.7704 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.6563, allocations: 4 kB / 0.7704 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.6563, allocations: 0 / 0.7704 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.6563, allocations: 0 / 0.7704 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.6583, allocations: 1.383 MB / 0.7717 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6584, allocations: 0 / 0.7717 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006204/0.659, allocations: 167.7 kB / 0.7719 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.659, allocations: 4 kB / 0.7719 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.659, allocations: 8 kB / 0.7719 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002806/0.6619, allocations: 6.021 MB / 0.7778 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.6619, allocations: 4 kB / 0.7778 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009349/0.6628, allocations: 0.5958 MB / 0.7784 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003595/0.6632, allocations: 215.8 kB / 0.7786 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.6633, allocations: 11.94 kB / 0.7786 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004411/0.6638, allocations: 43.95 kB / 0.7786 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.717e-05/0.6638, allocations: 31.89 kB / 0.7786 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.6639, allocations: 16 kB / 0.7787 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001062/0.665, allocations: 0.7836 MB / 0.7794 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.665, allocations: 4 kB / 0.7794 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001244/0.6662, allocations: 411.4 kB / 0.7798 GB, free: 2.18 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.000444/0.6667, allocations: 175.7 kB / 0.78 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003235/0.6699, allocations: 1.078 MB / 0.781 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.6699, allocations: 0 / 0.781 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008292/0.6708, allocations: 293.2 kB / 0.7813 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.6729, allocations: 451 kB / 0.7818 GB, free: 192 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003249/0.6762, allocations: 2.095 MB / 0.7838 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008194/0.677, allocations: 1.188 MB / 0.785 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001171/0.6782, allocations: 375.7 kB / 0.7853 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.6784, allocations: 71.42 kB / 0.7854 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of SimCode: time 2.365e-06/0.6784, allocations: 0 / 0.7854 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of Templates: time 0.03062/0.709, allocations: 17.34 MB / 0.8023 GB, free: 11.27 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)