Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009945/0.0009944, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.007437/0.007437, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.364/1.364, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9214/0.9214, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003369, allocations: 8 kB / 0.5076 GB, free: 4.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1786, allocations: 82.31 MB / 0.588 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.4718/0.6505, allocations: 163.3 MB / 0.7475 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005656/0.6562, allocations: 4.043 MB / 0.7514 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005697/0.6568, allocations: 14.75 kB / 0.7514 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007588/0.6576, allocations: 200 kB / 0.7516 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.6595, allocations: 0.6387 MB / 0.7523 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.6609, allocations: 431.5 kB / 0.7527 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003598/0.6645, allocations: 3.806 MB / 0.7564 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002885/0.6674, allocations: 2.356 MB / 0.7587 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002613/0.6701, allocations: 1.12 MB / 0.7598 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.6716, allocations: 0.8752 MB / 0.7606 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001933/0.6718, allocations: 48 kB / 0.7607 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.6736, allocations: 0.8886 MB / 0.7616 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003615/0.6739, allocations: 322.8 kB / 0.7619 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000761/0.6747, allocations: 0.604 MB / 0.7625 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.6764, allocations: 1.581 MB / 0.764 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6764, allocations: 4 kB / 0.764 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6764, allocations: 0 / 0.764 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.6764, allocations: 3.938 kB / 0.764 GB, free: 8.289 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002402/0.6788, allocations: 1.479 MB / 0.7654 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.6789, allocations: 8.031 kB / 0.7655 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000784/0.6797, allocations: 202.3 kB / 0.7656 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.6809, allocations: 0.8812 MB / 0.7665 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/0.681, allocations: 49.31 kB / 0.7666 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.6811, allocations: 67.98 kB / 0.7666 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.6826, allocations: 0.9909 MB / 0.7676 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.6827, allocations: 3.938 kB / 0.7676 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.76e-05/0.6827, allocations: 31.98 kB / 0.7676 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.6828, allocations: 16 kB / 0.7676 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.6841, allocations: 0.7999 MB / 0.7684 GB, free: 3.578 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.004495/0.6886, allocations: 4.809 MB / 0.7731 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002442/0.6911, allocations: 4.02 MB / 0.777 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005195/0.6916, allocations: 357.6 kB / 0.7774 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002905/0.6919, allocations: 210.4 kB / 0.7776 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005391/0.6925, allocations: 321.1 kB / 0.7779 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002637/0.6927, allocations: 31.69 kB / 0.7779 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=35): time 2.174e-06/0.6928, allocations: 0 / 0.7779 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of matching and sorting (n=35): time 0.005479/0.6982, allocations: 1.702 MB / 0.7796 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.6983, allocations: 81.11 kB / 0.7797 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.6998, allocations: 1.189 MB / 0.7808 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.6998, allocations: 41.7 kB / 0.7809 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004298/0.7003, allocations: 0.5082 MB / 0.7814 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.959e-05/0.7004, allocations: 126.2 kB / 0.7815 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.95e-05/0.7004, allocations: 45.69 kB / 0.7815 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.7006, allocations: 337.8 kB / 0.7818 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.701, allocations: 236.9 kB / 0.7821 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006534/0.7017, allocations: 0.5643 MB / 0.7826 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009964/0.7027, allocations: 0.694 MB / 0.7833 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.7027, allocations: 0 / 0.7833 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00255/0.7052, allocations: 1.135 MB / 0.7844 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001811/0.7054, allocations: 287.6 kB / 0.7847 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.7055, allocations: 4 kB / 0.7847 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001613/0.7071, allocations: 474.2 kB / 0.7851 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.7074, allocations: 71.89 kB / 0.7852 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.7089, allocations: 1.126 MB / 0.7863 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009475/0.7098, allocations: 83.91 kB / 0.7864 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-05/0.7099, allocations: 24 kB / 0.7864 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.7099, allocations: 7.938 kB / 0.7864 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001551/0.7115, allocations: 0.8174 MB / 0.7872 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.7115, allocations: 8 kB / 0.7872 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005896/0.7121, allocations: 241.3 kB / 0.7874 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.7124, allocations: 71.88 kB / 0.7875 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003976/0.7164, allocations: 3.114 MB / 0.7906 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009626/0.7174, allocations: 99.91 kB / 0.7907 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.7175, allocations: 23.94 kB / 0.7907 GB, free: 10.98 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 {(11,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0006856/0.7182, allocations: 480.7 kB / 0.7911 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.7183, allocations: 106.7 kB / 0.7912 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.7199, allocations: 0.8203 MB / 0.792 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.7199, allocations: 4 kB / 0.792 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.7199, allocations: 4 kB / 0.792 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.7199, allocations: 0 / 0.792 GB, free: 9.559 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 postOpt removeSimpleEquations (simulation): time 0.003035/0.723, allocations: 2.172 MB / 0.7942 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.723, allocations: 0 / 0.7942 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.7233, allocations: 47.97 kB / 0.7942 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005169/0.7238, allocations: 244.1 kB / 0.7944 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.7238, allocations: 8 kB / 0.7945 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.7249, allocations: 0.9423 MB / 0.7954 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.7249, allocations: 7.938 kB / 0.7954 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.7263, allocations: 0.8867 MB / 0.7962 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000451/0.7268, allocations: 235.8 kB / 0.7965 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.7269, allocations: 11.94 kB / 0.7965 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006776/0.7276, allocations: 71.81 kB / 0.7966 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.7277, allocations: 35.95 kB / 0.7966 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.7278, allocations: 12 kB / 0.7966 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0012/0.729, allocations: 0.8367 MB / 0.7974 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.235e-06/0.729, allocations: 112 / 0.7974 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001546/0.7305, allocations: 0.507 MB / 0.7979 GB, free: 3.32 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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 {(11,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005037/0.731, allocations: 183.4 kB / 0.7981 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002686/0.7337, allocations: 1.312 MB / 0.7994 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.7338, allocations: 0 / 0.7994 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006499/0.7344, allocations: 325 kB / 0.7997 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003687/0.7381, allocations: 0.6478 MB / 0.8003 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/0.7416, allocations: 2.309 MB / 0.8026 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008944/0.7425, allocations: 1.217 MB / 0.8038 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00115/0.7436, allocations: 380.6 kB / 0.8041 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.7438, allocations: 63.44 kB / 0.8042 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of SimCode: time 7.31e-07/0.7438, allocations: 0 / 0.8042 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of Templates: time 0.0359/0.7797, allocations: 21.34 MB / 0.825 GB, free: 7.719 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)