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.0007994/0.0007995, allocations: 92.16 kB / 16.02 MB, free: 80 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.0009032/0.0009033, allocations: 174.5 kB / 16.92 MB, free: 6.652 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: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9556/0.9556, allocations: 135.3 MB / 427.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003651, allocations: 8 kB / 0.5082 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1645, allocations: 82.3 MB / 0.5886 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.4938/0.6583, allocations: 163.4 MB / 0.7481 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006456/0.6648, allocations: 4.034 MB / 0.7521 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006878/0.6655, allocations: 14.75 kB / 0.7521 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000863/0.6664, allocations: 200 kB / 0.7523 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00211/0.6685, allocations: 0.6428 MB / 0.7529 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.6702, allocations: 431.3 kB / 0.7533 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003935/0.6741, allocations: 3.813 MB / 0.757 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003139/0.6773, allocations: 2.349 MB / 0.7593 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002687/0.68, allocations: 1.124 MB / 0.7604 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.6815, allocations: 0.8674 MB / 0.7613 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002825/0.6818, allocations: 51.94 kB / 0.7613 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002135/0.684, allocations: 0.8925 MB / 0.7622 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005911/0.6846, allocations: 326.8 kB / 0.7625 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001265/0.6859, allocations: 0.5962 MB / 0.7631 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.6876, allocations: 1.161 MB / 0.7642 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.6876, allocations: 3.938 kB / 0.7642 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6876, allocations: 4 kB / 0.7642 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.902e-05/0.6877, allocations: 0 / 0.7642 GB, free: 8.691 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.002942/0.6906, allocations: 1.479 MB / 0.7657 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.6907, allocations: 8.031 kB / 0.7657 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009851/0.6917, allocations: 206.9 kB / 0.7659 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.6933, allocations: 0.8773 MB / 0.7667 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.123e-05/0.6933, allocations: 53.31 kB / 0.7668 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.6935, allocations: 60 kB / 0.7668 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.695, allocations: 0.9987 MB / 0.7678 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.6951, allocations: 3.984 kB / 0.7678 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.087e-05/0.6951, allocations: 27.94 kB / 0.7679 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.6952, allocations: 12.88 kB / 0.7679 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.6965, allocations: 0.8116 MB / 0.7687 GB, free: 3.973 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.005095/0.7016, allocations: 4.797 MB / 0.7733 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/0.7041, allocations: 4.026 MB / 0.7773 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005165/0.7046, allocations: 353.6 kB / 0.7776 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002947/0.7049, allocations: 194.5 kB / 0.7778 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000531/0.7055, allocations: 329.1 kB / 0.7781 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003908/0.7059, allocations: 31.69 kB / 0.7781 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=35): time 2.194e-06/0.7059, allocations: 4 kB / 0.7781 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of matching and sorting (n=35): time 0.005321/0.7112, allocations: 1.702 MB / 0.7798 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.7113, allocations: 85.05 kB / 0.7799 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.713, allocations: 1.189 MB / 0.781 GB, free: 6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.6e-05/0.7131, allocations: 33.7 kB / 0.7811 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004634/0.7136, allocations: 0.5121 MB / 0.7816 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.7137, allocations: 126.2 kB / 0.7817 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.161e-05/0.7138, allocations: 45.7 kB / 0.7817 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.7139, allocations: 329.9 kB / 0.7821 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004174/0.7144, allocations: 240.9 kB / 0.7823 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006345/0.715, allocations: 0.5605 MB / 0.7828 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009488/0.716, allocations: 0.698 MB / 0.7835 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.716, allocations: 0 / 0.7835 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00261/0.7186, allocations: 1.146 MB / 0.7846 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002343/0.7188, allocations: 279.5 kB / 0.7849 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.7189, allocations: 4 kB / 0.7849 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/0.7205, allocations: 465.9 kB / 0.7854 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.7208, allocations: 71.83 kB / 0.7854 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.7223, allocations: 1.138 MB / 0.7865 GB, free: 20 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.7234, allocations: 83.91 kB / 0.7866 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.393e-05/0.7234, allocations: 24 kB / 0.7866 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.7235, allocations: 4 kB / 0.7866 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001523/0.725, allocations: 0.8174 MB / 0.7874 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.725, allocations: 8 kB / 0.7874 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005709/0.7256, allocations: 241.3 kB / 0.7877 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.7259, allocations: 79.81 kB / 0.7878 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003944/0.7299, allocations: 3.115 MB / 0.7908 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.731, allocations: 99.81 kB / 0.7909 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-05/0.7311, allocations: 24 kB / 0.7909 GB, free: 11.39 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.0006614/0.7317, allocations: 480.6 kB / 0.7914 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002759/0.732, allocations: 106.7 kB / 0.7915 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.7336, allocations: 0.8127 MB / 0.7923 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.7336, allocations: 4 kB / 0.7923 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.7336, allocations: 0 / 0.7923 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.7336, allocations: 4 kB / 0.7923 GB, free: 9.969 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.003289/0.7369, allocations: 2.172 MB / 0.7944 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.737, allocations: 4.031 kB / 0.7944 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.7372, allocations: 51.89 kB / 0.7944 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004999/0.7377, allocations: 232.7 kB / 0.7947 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.313e-05/0.7378, allocations: 12.09 kB / 0.7947 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009233/0.7387, allocations: 0.9535 MB / 0.7956 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.7387, allocations: 0 / 0.7956 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.7401, allocations: 0.8866 MB / 0.7965 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005252/0.7407, allocations: 235.7 kB / 0.7967 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/0.7409, allocations: 11.94 kB / 0.7967 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007961/0.7417, allocations: 67.83 kB / 0.7968 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.7418, allocations: 43.89 kB / 0.7968 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.7419, allocations: 8 kB / 0.7968 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001205/0.7431, allocations: 0.8367 MB / 0.7976 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7431, allocations: 0 / 0.7976 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00165/0.7447, allocations: 0.5031 MB / 0.7981 GB, free: 3.73 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.0004695/0.7452, allocations: 180.7 kB / 0.7983 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002687/0.7479, allocations: 1.309 MB / 0.7996 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.7479, allocations: 3.938 kB / 0.7996 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006434/0.7486, allocations: 325 kB / 0.7999 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004039/0.7526, allocations: 0.6437 MB / 0.8005 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003575/0.7562, allocations: 2.359 MB / 0.8028 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008396/0.7571, allocations: 1.213 MB / 0.804 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.7573, allocations: 71.42 kB / 0.8041 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of SimCode: time 1.283e-06/0.7573, allocations: 0 / 0.8041 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of Templates: time 0.03021/0.7876, allocations: 22.77 MB / 0.8263 GB, free: 6.914 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)