Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 111.8 kB / 16.42 MB, free: 6.496 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.001047/0.001047, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.292/1.292, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7977/0.7977, allocations: 135.1 MB / 426.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 64.67 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1328, allocations: 80.9 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.4576/0.5904, allocations: 161.6 MB / 0.8232 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002652/0.5931, allocations: 1.767 MB / 0.8249 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.5933, allocations: 11.81 kB / 0.8249 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004867/0.5938, allocations: 165.4 kB / 0.8251 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0011/0.595, allocations: 0.5395 MB / 0.8256 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008888/0.5959, allocations: 405.3 kB / 0.826 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002295/0.5982, allocations: 2.552 MB / 0.8285 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002556/0.6007, allocations: 2.408 MB / 0.8308 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001626/0.6024, allocations: 1.053 MB / 0.8318 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007532/0.6031, allocations: 0.7142 MB / 0.8325 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.6033, allocations: 60.22 kB / 0.8326 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.6046, allocations: 0.7523 MB / 0.8333 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.6049, allocations: 315.6 kB / 0.8336 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005465/0.6054, allocations: 0.5412 MB / 0.8342 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.6069, allocations: 1.431 MB / 0.8356 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.6069, allocations: 0 / 0.8356 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6069, allocations: 3.938 kB / 0.8356 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.6069, allocations: 4 kB / 0.8356 GB, free: 12.66 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001954/0.6089, allocations: 1.495 MB / 0.837 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.6089, allocations: 11.52 kB / 0.837 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006904/0.6096, allocations: 186.5 kB / 0.8372 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.6108, allocations: 0.8601 MB / 0.838 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.487e-05/0.6109, allocations: 41.53 kB / 0.8381 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-05/0.6109, allocations: 63.06 kB / 0.8381 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.612, allocations: 0.8243 MB / 0.839 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.612, allocations: 6.031 kB / 0.839 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.388e-05/0.6121, allocations: 21.25 kB / 0.839 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.6121, allocations: 15.38 kB / 0.839 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008713/0.613, allocations: 0.5663 MB / 0.8395 GB, free: 9.859 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.003379/0.6164, allocations: 4.212 MB / 0.8437 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006749/0.6171, allocations: 444.8 kB / 0.8441 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004332/0.6175, allocations: 347.6 kB / 0.8444 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/0.6178, allocations: 191.7 kB / 0.8446 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004873/0.6183, allocations: 311.8 kB / 0.8449 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001694/0.6185, allocations: 34.69 kB / 0.8449 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.6185, allocations: 7.938 kB / 0.8449 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.00486/0.6234, allocations: 1.676 MB / 0.8466 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.6234, allocations: 86.77 kB / 0.8467 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.6247, allocations: 1.145 MB / 0.8478 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5e-05/0.6248, allocations: 38.98 kB / 0.8478 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003625/0.6252, allocations: 492.9 kB / 0.8483 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.082e-05/0.6253, allocations: 120 kB / 0.8484 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.6254, allocations: 107.5 kB / 0.8485 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.6255, allocations: 329.3 kB / 0.8488 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/0.6259, allocations: 235.7 kB / 0.849 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006026/0.6265, allocations: 0.5441 MB / 0.8496 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008731/0.6274, allocations: 0.6766 MB / 0.8502 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.6274, allocations: 4 kB / 0.8502 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002194/0.6296, allocations: 1.112 MB / 0.8513 GB, free: 12 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.994e-05/0.6297, allocations: 33.7 kB / 0.8514 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.6297, allocations: 12.02 kB / 0.8514 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.631, allocations: 369.5 kB / 0.8517 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.6314, allocations: 91.81 kB / 0.8518 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.6324, allocations: 1.034 MB / 0.8528 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000766/0.6332, allocations: 60.11 kB / 0.8529 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/0.6332, allocations: 27.92 kB / 0.8529 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006907/0.6339, allocations: 0.5203 MB / 0.8534 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005512/0.6345, allocations: 0.5069 MB / 0.8539 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007559/0.6353, allocations: 0.5958 MB / 0.8545 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.608e-06/0.6353, allocations: 8 kB / 0.8545 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001503/0.6368, allocations: 0.8937 MB / 0.8554 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.6368, allocations: 37.77 kB / 0.8554 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.6368, allocations: 11.94 kB / 0.8554 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005531/0.6374, allocations: 236.7 kB / 0.8556 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.6377, allocations: 87.8 kB / 0.8557 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003465/0.6412, allocations: 3.278 MB / 0.8589 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007688/0.642, allocations: 64.25 kB / 0.859 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.124e-05/0.642, allocations: 24 kB / 0.859 GB, free: 7.727 MB / 0.6231 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 {(1,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.6422, allocations: 231.5 kB / 0.8592 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.6424, allocations: 111.3 kB / 0.8593 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.6437, allocations: 0.7773 MB / 0.8601 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.6437, allocations: 7.922 kB / 0.8601 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.6437, allocations: 0 / 0.8601 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/0.644, allocations: 224.4 kB / 0.8603 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.6441, allocations: 4 kB / 0.8603 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/0.6446, allocations: 35.94 kB / 0.8604 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.6447, allocations: 47.92 kB / 0.8604 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00147/0.6462, allocations: 0.854 MB / 0.8612 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001212/0.6474, allocations: 0.9973 MB / 0.8622 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003328/0.6478, allocations: 208.3 kB / 0.8624 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009385/0.6487, allocations: 0.8158 MB / 0.8632 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of Backend: time 2.5e-07/0.6487, allocations: 0 / 0.8632 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002602/0.6513, allocations: 1.207 MB / 0.8644 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of SimCode: time 0.003622/0.655, allocations: 2.725 MB / 0.867 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of Templates: time 0.03306/0.688, allocations: 21.79 MB / 0.8883 GB, free: 9.742 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)