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.001011/0.001011, allocations: 112.6 kB / 16.42 MB, free: 6.445 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.0009582/0.0009582, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.179/1.179, allocations: 222.9 MB / 241.1 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.7183/0.7183, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 67.73 kB / 0.5863 GB, free: 21.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1197, allocations: 80.93 MB / 0.6653 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.4072/0.5269, allocations: 161.6 MB / 0.8232 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002603/0.5295, allocations: 1.76 MB / 0.8249 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002768/0.5298, allocations: 15.78 kB / 0.8249 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004806/0.5303, allocations: 168.8 kB / 0.825 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.5314, allocations: 0.5422 MB / 0.8256 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009369/0.5324, allocations: 394.7 kB / 0.826 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002158/0.5346, allocations: 2.559 MB / 0.8285 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002345/0.5369, allocations: 2.403 MB / 0.8308 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/0.5384, allocations: 1.047 MB / 0.8318 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008698/0.5392, allocations: 0.7173 MB / 0.8325 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.5394, allocations: 57.97 kB / 0.8326 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.5406, allocations: 0.7558 MB / 0.8333 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003101/0.5409, allocations: 308.7 kB / 0.8336 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006039/0.5415, allocations: 0.5491 MB / 0.8341 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.5429, allocations: 1.422 MB / 0.8355 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.5429, allocations: 0 / 0.8355 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5429, allocations: 0 / 0.8355 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.031e-05/0.5429, allocations: 3.938 kB / 0.8355 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.002162/0.5451, allocations: 1.458 MB / 0.837 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.5451, allocations: 8.641 kB / 0.837 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007219/0.5459, allocations: 188.8 kB / 0.8372 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.5472, allocations: 0.8604 MB / 0.838 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.5472, allocations: 44.5 kB / 0.838 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.861e-05/0.5473, allocations: 56.09 kB / 0.8381 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.5483, allocations: 0.8247 MB / 0.8389 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.5484, allocations: 2.094 kB / 0.8389 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.114e-05/0.5484, allocations: 24 kB / 0.8389 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.5484, allocations: 12.62 kB / 0.8389 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008416/0.5493, allocations: 0.5662 MB / 0.8395 GB, free: 9.898 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.003412/0.5527, allocations: 4.201 MB / 0.8436 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006601/0.5534, allocations: 451.1 kB / 0.844 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004256/0.5538, allocations: 344.6 kB / 0.8443 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/0.5541, allocations: 189.3 kB / 0.8445 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00045/0.5545, allocations: 316.9 kB / 0.8448 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001587/0.5547, allocations: 30.25 kB / 0.8449 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.733e-06/0.5547, allocations: 0 / 0.8449 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.004447/0.5592, allocations: 1.668 MB / 0.8465 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.5592, allocations: 87.98 kB / 0.8466 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.5603, allocations: 1.152 MB / 0.8477 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.5604, allocations: 32.52 kB / 0.8477 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/0.5607, allocations: 490.8 kB / 0.8482 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.038e-05/0.5608, allocations: 115.4 kB / 0.8483 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.561, allocations: 111.4 kB / 0.8484 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.5611, allocations: 329.3 kB / 0.8487 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.5615, allocations: 234.2 kB / 0.8489 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005887/0.5621, allocations: 0.5449 MB / 0.8495 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008597/0.5629, allocations: 0.6805 MB / 0.8501 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.5629, allocations: 4 kB / 0.8501 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002058/0.565, allocations: 1.099 MB / 0.8512 GB, free: 60 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.565, allocations: 41.69 kB / 0.8513 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.5651, allocations: 4 kB / 0.8513 GB, free: 8 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.5663, allocations: 361 kB / 0.8516 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.5666, allocations: 103.6 kB / 0.8517 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009344/0.5676, allocations: 1.034 MB / 0.8527 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006927/0.5683, allocations: 60.09 kB / 0.8528 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/0.5683, allocations: 28.06 kB / 0.8528 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006384/0.569, allocations: 0.5164 MB / 0.8533 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005259/0.5695, allocations: 0.5031 MB / 0.8538 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00073/0.5703, allocations: 0.6038 MB / 0.8544 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.284e-06/0.5703, allocations: 0 / 0.8544 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001424/0.5717, allocations: 0.8966 MB / 0.8553 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.5717, allocations: 35.73 kB / 0.8553 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5717, allocations: 7.938 kB / 0.8553 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005134/0.5723, allocations: 246.3 kB / 0.8555 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/0.5726, allocations: 95.8 kB / 0.8556 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003371/0.576, allocations: 3.271 MB / 0.8588 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007125/0.5767, allocations: 68.31 kB / 0.8589 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.574e-05/0.5768, allocations: 27.98 kB / 0.8589 GB, free: 7.766 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.0001569/0.5769, allocations: 224 kB / 0.8591 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.577, allocations: 98.78 kB / 0.8592 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.5783, allocations: 0.7617 MB / 0.86 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.5783, allocations: 11.92 kB / 0.86 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.5783, allocations: 0 / 0.86 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003113/0.5787, allocations: 219.7 kB / 0.8602 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.5788, allocations: 11.98 kB / 0.8602 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004934/0.5793, allocations: 35.95 kB / 0.8602 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.614e-05/0.5794, allocations: 44.02 kB / 0.8603 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001489/0.5809, allocations: 0.8516 MB / 0.8611 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001176/0.5821, allocations: 0.9863 MB / 0.8621 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003257/0.5824, allocations: 216.3 kB / 0.8623 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008731/0.5833, allocations: 0.8119 MB / 0.8631 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of Backend: time 3.51e-07/0.5833, allocations: 0 / 0.8631 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002466/0.5858, allocations: 1.212 MB / 0.8643 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of SimCode: time 0.003398/0.5892, allocations: 2.688 MB / 0.8669 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of Templates: time 0.0283/0.6175, allocations: 21.79 MB / 0.8882 GB, free: 9.852 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)