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.001591/0.001591, allocations: 103.4 kB / 16.35 MB, free: 6.289 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.001839/0.001839, allocations: 196.2 kB / 17.3 MB, free: 5.863 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.472/1.472, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7862/0.7862, allocations: 135.1 MB / 426.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 67.89 kB / 0.5068 GB, free: 7.699 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3427, allocations: 80.9 MB / 0.5858 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1641/0.5068, allocations: 161.6 MB / 0.7436 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005015/0.5119, allocations: 3.622 MB / 0.7471 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000341/0.5123, allocations: 11.94 kB / 0.7471 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005902/0.5129, allocations: 162.9 kB / 0.7473 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001338/0.5143, allocations: 0.5211 MB / 0.7478 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.5155, allocations: 435.4 kB / 0.7482 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002557/0.5181, allocations: 2.547 MB / 0.7507 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.5192, allocations: 0.9293 MB / 0.7516 GB, free: 184 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3134/0.8326, allocations: 1.026 MB / 0.7526 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.8338, allocations: 0.7073 MB / 0.7533 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.8339, allocations: 58.42 kB / 0.7534 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.8353, allocations: 0.7395 MB / 0.7541 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003033/0.8356, allocations: 306.2 kB / 0.7544 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006452/0.8363, allocations: 0.5444 MB / 0.7549 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.8376, allocations: 1.404 MB / 0.7563 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.8377, allocations: 0 / 0.7563 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8377, allocations: 0.75 kB / 0.7563 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.8377, allocations: 3 kB / 0.7563 GB, free: 2.559 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.002001/0.8397, allocations: 1.449 MB / 0.7577 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.8397, allocations: 10.92 kB / 0.7577 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007704/0.8405, allocations: 192.4 kB / 0.7579 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.8421, allocations: 0.8525 MB / 0.7587 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.589e-05/0.8422, allocations: 44.56 kB / 0.7588 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.8423, allocations: 59.8 kB / 0.7588 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.8435, allocations: 0.7939 MB / 0.7596 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.8435, allocations: 9.219 kB / 0.7596 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/0.8436, allocations: 24.06 kB / 0.7596 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.8436, allocations: 14.06 kB / 0.7596 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009851/0.8446, allocations: 0.5306 MB / 0.7602 GB, free: 17.07 MB / 0.5919 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.004739/0.8494, allocations: 4.597 MB / 0.7646 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008667/0.8502, allocations: 412.5 kB / 0.765 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004036/0.8507, allocations: 248.7 kB / 0.7653 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003013/0.851, allocations: 196.8 kB / 0.7655 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004548/0.8514, allocations: 298.1 kB / 0.7657 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.693e-06/0.8515, allocations: 1.438 kB / 0.7657 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.005023/0.8565, allocations: 1.639 MB / 0.7673 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.8566, allocations: 82.56 kB / 0.7674 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.8579, allocations: 1.118 MB / 0.7685 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.632e-05/0.858, allocations: 36.59 kB / 0.7686 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/0.8583, allocations: 494.5 kB / 0.769 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.02e-05/0.8584, allocations: 110.2 kB / 0.7691 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.8586, allocations: 115.1 kB / 0.7692 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.8588, allocations: 325.1 kB / 0.7695 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004407/0.8592, allocations: 213.8 kB / 0.7698 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005871/0.8598, allocations: 0.5199 MB / 0.7703 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008921/0.8607, allocations: 0.631 MB / 0.7709 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.8607, allocations: 0.875 kB / 0.7709 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002185/0.8629, allocations: 1.041 MB / 0.7719 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.863, allocations: 33.36 kB / 0.7719 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.863, allocations: 7.703 kB / 0.7719 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.8643, allocations: 385.1 kB / 0.7723 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.8645, allocations: 62.67 kB / 0.7724 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.8658, allocations: 1.09 MB / 0.7734 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007669/0.8666, allocations: 72.67 kB / 0.7735 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.719e-05/0.8666, allocations: 26.19 kB / 0.7735 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006765/0.8673, allocations: 0.4925 MB / 0.774 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006073/0.8679, allocations: 491.7 kB / 0.7745 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006818/0.8686, allocations: 0.5562 MB / 0.775 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.198e-06/0.8686, allocations: 3.188 kB / 0.775 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0014/0.8701, allocations: 0.8362 MB / 0.7758 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.479e-05/0.8701, allocations: 38.45 kB / 0.7759 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.8701, allocations: 5.469 kB / 0.7759 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004796/0.8706, allocations: 218.7 kB / 0.7761 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.8708, allocations: 67.38 kB / 0.7761 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003709/0.8745, allocations: 3.26 MB / 0.7793 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007867/0.8753, allocations: 60.98 kB / 0.7794 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.413e-05/0.8754, allocations: 23.84 kB / 0.7794 GB, free: 8.504 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.0002413/0.8756, allocations: 220 kB / 0.7796 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.8759, allocations: 106.2 kB / 0.7797 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.8771, allocations: 0.7096 MB / 0.7804 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.8771, allocations: 4.625 kB / 0.7804 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.8772, allocations: 0 / 0.7804 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.8772, allocations: 7.531 kB / 0.7804 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/0.8797, allocations: 1.599 MB / 0.782 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.8797, allocations: 7.531 kB / 0.782 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.8798, allocations: 26.7 kB / 0.782 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000475/0.8803, allocations: 246.5 kB / 0.7823 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.8803, allocations: 11.17 kB / 0.7823 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009437/0.8813, allocations: 1.023 MB / 0.7833 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.8813, allocations: 3.594 kB / 0.7833 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.8825, allocations: 0.8216 MB / 0.7841 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004205/0.883, allocations: 212.9 kB / 0.7843 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.8831, allocations: 7.875 kB / 0.7843 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004152/0.8835, allocations: 27.72 kB / 0.7843 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.86e-05/0.8836, allocations: 29.83 kB / 0.7843 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/0.8837, allocations: 9.625 kB / 0.7843 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009774/0.8846, allocations: 0.7987 MB / 0.7851 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8846, allocations: 0.8438 kB / 0.7851 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001229/0.8859, allocations: 439.8 kB / 0.7855 GB, free: 6.551 MB / 0.5919 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.0004548/0.8863, allocations: 175.3 kB / 0.7857 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002318/0.8887, allocations: 1.206 MB / 0.7869 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.8887, allocations: 6.172 kB / 0.7869 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005675/0.8893, allocations: 289 kB / 0.7872 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/0.891, allocations: 451.4 kB / 0.7876 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.8936, allocations: 1.778 MB / 0.7893 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007141/0.8944, allocations: 1.19 MB / 0.7905 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007428/0.8951, allocations: 319.5 kB / 0.7908 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.8952, allocations: 68.66 kB / 0.7909 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.8952, allocations: 0 / 0.7909 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of Templates: time 0.02979/0.925, allocations: 19.27 MB / 0.8097 GB, free: 15.26 MB / 0.6075 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)