Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001285, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 195.7 kB / 16.53 MB, free: 6.672 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9191/0.9191, allocations: 135.1 MB / 425.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.92 kB / 0.5053 GB, free: 5.301 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1612, allocations: 80.92 MB / 0.5844 GB, free: 4.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.4229/0.5841, allocations: 161.6 MB / 0.7422 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004892/0.5891, allocations: 3.624 MB / 0.7457 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003909/0.5895, allocations: 12.28 kB / 0.7457 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000602/0.5901, allocations: 160.1 kB / 0.7459 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001548/0.5917, allocations: 0.5244 MB / 0.7464 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.5931, allocations: 434 kB / 0.7468 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002639/0.5958, allocations: 2.529 MB / 0.7493 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.5969, allocations: 0.9319 MB / 0.7502 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.5987, allocations: 1.041 MB / 0.7512 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007974/0.5995, allocations: 0.703 MB / 0.7519 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.5996, allocations: 55.72 kB / 0.7519 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.601, allocations: 0.7299 MB / 0.7526 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003115/0.6014, allocations: 312.1 kB / 0.7529 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000653/0.602, allocations: 0.5479 MB / 0.7535 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.6037, allocations: 1.386 MB / 0.7548 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.6038, allocations: 4 kB / 0.7548 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6038, allocations: 3.938 kB / 0.7548 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.504e-05/0.6038, allocations: 0 / 0.7548 GB, free: 14.36 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.00224/0.606, allocations: 1.454 MB / 0.7563 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.6061, allocations: 8.031 kB / 0.7563 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007887/0.6069, allocations: 186.5 kB / 0.7564 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.608, allocations: 0.8062 MB / 0.7572 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.6081, allocations: 41 kB / 0.7573 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.465e-05/0.6082, allocations: 60 kB / 0.7573 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.6093, allocations: 0.7888 MB / 0.7581 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.6093, allocations: 7.875 kB / 0.7581 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.152e-05/0.6094, allocations: 27.98 kB / 0.7581 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.6094, allocations: 15.94 kB / 0.7582 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000918/0.6103, allocations: 0.5344 MB / 0.7587 GB, free: 10.25 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.004058/0.6144, allocations: 4.607 MB / 0.7632 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007404/0.6151, allocations: 419 kB / 0.7636 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004348/0.6156, allocations: 246.4 kB / 0.7638 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000306/0.6159, allocations: 190.2 kB / 0.764 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005013/0.6164, allocations: 302.9 kB / 0.7643 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.854e-06/0.6164, allocations: 0 / 0.7643 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.005109/0.6215, allocations: 1.647 MB / 0.7659 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.6216, allocations: 81.11 kB / 0.766 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.6232, allocations: 1.122 MB / 0.7671 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.525e-05/0.6232, allocations: 41.69 kB / 0.7671 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004422/0.6237, allocations: 485.2 kB / 0.7676 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.372e-05/0.6238, allocations: 110.5 kB / 0.7677 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.624, allocations: 106 kB / 0.7678 GB, free: 436 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.6241, allocations: 330 kB / 0.7681 GB, free: 100 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/0.6245, allocations: 218.4 kB / 0.7683 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006404/0.6252, allocations: 0.5135 MB / 0.7688 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009207/0.6261, allocations: 0.6387 MB / 0.7694 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.6261, allocations: 0 / 0.7694 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002211/0.6283, allocations: 1.043 MB / 0.7704 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.805e-05/0.6284, allocations: 36.52 kB / 0.7705 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.6284, allocations: 8 kB / 0.7705 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.6297, allocations: 382.5 kB / 0.7708 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.63, allocations: 59.91 kB / 0.7709 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.6314, allocations: 1.093 MB / 0.772 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006909/0.6321, allocations: 67.72 kB / 0.772 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.374e-05/0.6322, allocations: 27.98 kB / 0.7721 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006991/0.6329, allocations: 0.5044 MB / 0.7726 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005461/0.6334, allocations: 492.5 kB / 0.773 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007393/0.6342, allocations: 0.5527 MB / 0.7736 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.329e-06/0.6342, allocations: 4 kB / 0.7736 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.00161/0.6358, allocations: 0.8299 MB / 0.7744 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.835e-05/0.6359, allocations: 33.7 kB / 0.7744 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.6359, allocations: 8.188 kB / 0.7744 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005494/0.6365, allocations: 221.1 kB / 0.7746 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.6367, allocations: 63.84 kB / 0.7747 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003762/0.6405, allocations: 3.267 MB / 0.7779 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000774/0.6413, allocations: 72.03 kB / 0.7779 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.918e-05/0.6413, allocations: 20 kB / 0.778 GB, free: 5.324 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002115/0.6415, allocations: 219.9 kB / 0.7782 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.6418, allocations: 98.78 kB / 0.7783 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.6431, allocations: 0.718 MB / 0.779 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.6432, allocations: 4 kB / 0.779 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.6432, allocations: 4 kB / 0.779 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.6432, allocations: 3.984 kB / 0.779 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.6456, allocations: 1.591 MB / 0.7805 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.6456, allocations: 4.031 kB / 0.7805 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.6458, allocations: 23.98 kB / 0.7806 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005121/0.6463, allocations: 266.9 kB / 0.7808 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.6463, allocations: 8 kB / 0.7808 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/0.6474, allocations: 1.021 MB / 0.7818 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.6474, allocations: 8.031 kB / 0.7818 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.6486, allocations: 0.8179 MB / 0.7826 GB, free: 396 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003619/0.649, allocations: 211.9 kB / 0.7828 GB, free: 164 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.6492, allocations: 11.98 kB / 0.7828 GB, free: 152 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004637/0.6497, allocations: 19.98 kB / 0.7829 GB, free: 132 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.6498, allocations: 39.83 kB / 0.7829 GB, free: 92 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.6498, allocations: 12 kB / 0.7829 GB, free: 80 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001143/0.651, allocations: 0.7877 MB / 0.7837 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.373e-06/0.651, allocations: 0 / 0.7837 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001242/0.6522, allocations: 439.4 kB / 0.7841 GB, free: 14.85 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004797/0.6527, allocations: 173.6 kB / 0.7843 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002606/0.6553, allocations: 1.222 MB / 0.7855 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6553, allocations: 0 / 0.7855 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006268/0.656, allocations: 275.7 kB / 0.7857 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.6579, allocations: 464.8 kB / 0.7862 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.6609, allocations: 1.799 MB / 0.7879 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008081/0.6617, allocations: 1.188 MB / 0.7891 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008837/0.6626, allocations: 307.8 kB / 0.7894 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.6628, allocations: 63.44 kB / 0.7894 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of SimCode: time 1.233e-06/0.6628, allocations: 4 kB / 0.7894 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of Templates: time 0.03382/0.6966, allocations: 19.26 MB / 0.8083 GB, free: 6.23 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)