Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 106.7 kB / 16.41 MB, free: 6.504 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.001287/0.001287, allocations: 188.3 kB / 17.35 MB, free: 5.734 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.24/1.24, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7418/0.7418, allocations: 135.1 MB / 426.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 66.33 kB / 0.5863 GB, free: 21.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1215, allocations: 80.92 MB / 0.6653 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.4404/0.5619, allocations: 167.8 MB / 0.8292 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003373/0.5653, allocations: 2.193 MB / 0.8313 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004027/0.5657, allocations: 21.84 kB / 0.8313 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006553/0.5664, allocations: 249.6 kB / 0.8316 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.568, allocations: 0.7064 MB / 0.8323 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.5691, allocations: 439.7 kB / 0.8327 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002548/0.5717, allocations: 2.756 MB / 0.8354 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002766/0.5745, allocations: 2.565 MB / 0.8379 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002072/0.5765, allocations: 1.287 MB / 0.8391 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.5778, allocations: 0.8625 MB / 0.84 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.578, allocations: 75.38 kB / 0.84 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.5793, allocations: 0.8224 MB / 0.8408 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003858/0.5797, allocations: 365.3 kB / 0.8412 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007928/0.5805, allocations: 0.624 MB / 0.8418 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001679/0.5822, allocations: 1.631 MB / 0.8434 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.5822, allocations: 2.688 kB / 0.8434 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5822, allocations: 3.938 kB / 0.8434 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.098e-05/0.5822, allocations: 0 / 0.8434 GB, free: 6.453 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002673/0.5849, allocations: 1.65 MB / 0.845 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.5849, allocations: 12.58 kB / 0.845 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008317/0.5858, allocations: 212.1 kB / 0.8452 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.5871, allocations: 0.9299 MB / 0.8461 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.5872, allocations: 52.75 kB / 0.8462 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.5873, allocations: 61.06 kB / 0.8462 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.5887, allocations: 0.9933 MB / 0.8472 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.5887, allocations: 2.094 kB / 0.8472 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.671e-05/0.5888, allocations: 27.28 kB / 0.8472 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.5888, allocations: 12.91 kB / 0.8473 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.59, allocations: 0.802 MB / 0.848 GB, free: 3.273 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 preOpt removeSimpleEquations (simulation): time 0.004049/0.594, allocations: 4.765 MB / 0.8527 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/0.5964, allocations: 4.016 MB / 0.8566 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004863/0.5969, allocations: 353.7 kB / 0.857 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002689/0.5972, allocations: 194.5 kB / 0.8571 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004943/0.5977, allocations: 329.4 kB / 0.8574 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001831/0.5979, allocations: 35.73 kB / 0.8575 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=35): time 1.763e-06/0.5979, allocations: 0 / 0.8575 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of matching and sorting (n=35): time 0.004444/0.6024, allocations: 1.583 MB / 0.859 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.6024, allocations: 81.11 kB / 0.8591 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.6038, allocations: 1.184 MB / 0.8603 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.6038, allocations: 37.7 kB / 0.8603 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003963/0.6042, allocations: 0.5245 MB / 0.8608 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.6043, allocations: 126.9 kB / 0.8609 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.6045, allocations: 126.1 kB / 0.8611 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.6046, allocations: 326 kB / 0.8614 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004067/0.605, allocations: 234.9 kB / 0.8616 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006206/0.6056, allocations: 0.5527 MB / 0.8621 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008956/0.6066, allocations: 0.6826 MB / 0.8628 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.6066, allocations: 3.938 kB / 0.8628 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002135/0.6087, allocations: 1.108 MB / 0.8639 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/0.6088, allocations: 41.69 kB / 0.8639 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.6088, allocations: 8 kB / 0.8639 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.61, allocations: 348.7 kB / 0.8643 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003688/0.6103, allocations: 91.75 kB / 0.8643 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009312/0.6113, allocations: 1.019 MB / 0.8653 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007419/0.612, allocations: 63.92 kB / 0.8654 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.833e-05/0.6121, allocations: 24 kB / 0.8654 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006837/0.6128, allocations: 0.5242 MB / 0.8659 GB, free: 128 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005691/0.6134, allocations: 0.5252 MB / 0.8665 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000774/0.6141, allocations: 0.5996 MB / 0.867 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.138e-06/0.6142, allocations: 4 kB / 0.867 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001479/0.6156, allocations: 0.9051 MB / 0.8679 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.6157, allocations: 41.64 kB / 0.868 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.6157, allocations: 4 kB / 0.868 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004949/0.6162, allocations: 212.7 kB / 0.8682 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.6166, allocations: 95.89 kB / 0.8683 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003321/0.6199, allocations: 3.156 MB / 0.8713 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007951/0.6207, allocations: 75.84 kB / 0.8714 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/0.6208, allocations: 24 kB / 0.8714 GB, free: 10.11 MB / 0.6387 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 (38): * Single equations (assignments): 36 * 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 {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001664/0.6209, allocations: 223 kB / 0.8717 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.6211, allocations: 119.3 kB / 0.8718 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.6224, allocations: 0.7658 MB / 0.8725 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.6224, allocations: 7.984 kB / 0.8725 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.6224, allocations: 0 / 0.8725 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003057/0.6227, allocations: 240.2 kB / 0.8728 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.6229, allocations: 8 kB / 0.8728 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005284/0.6234, allocations: 31.95 kB / 0.8728 GB, free: 8.688 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.6235, allocations: 47.86 kB / 0.8728 GB, free: 8.641 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001509/0.625, allocations: 0.8459 MB / 0.8737 GB, free: 7.785 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001205/0.6263, allocations: 1.005 MB / 0.8746 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003362/0.6266, allocations: 215.8 kB / 0.8748 GB, free: 6.555 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009486/0.6276, allocations: 0.8288 MB / 0.8757 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of Backend: time 3.71e-07/0.6276, allocations: 0 / 0.8757 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002634/0.6302, allocations: 1.225 MB / 0.8769 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of SimCode: time 0.003985/0.6342, allocations: 2.788 MB / 0.8796 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of Templates: time 0.03163/0.6659, allocations: 22.01 MB / 0.9011 GB, free: 11.82 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)