Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001742/0.001742, allocations: 187 kB / 17.34 MB, free: 5.742 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8426/0.8426, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 68.28 kB / 0.5863 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1788, allocations: 80.92 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.6146/0.7935, allocations: 161.6 MB / 0.8231 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005463/0.799, allocations: 3.627 MB / 0.8267 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005796/0.7996, allocations: 8.906 kB / 0.8267 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007238/0.8004, allocations: 161.4 kB / 0.8268 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.8021, allocations: 0.5318 MB / 0.8274 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.8036, allocations: 434.8 kB / 0.8278 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003179/0.8068, allocations: 2.571 MB / 0.8303 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003127/0.8099, allocations: 2.408 MB / 0.8326 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002395/0.8124, allocations: 1.047 MB / 0.8337 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/0.814, allocations: 0.7161 MB / 0.8344 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000309/0.8143, allocations: 57.62 kB / 0.8344 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002136/0.8164, allocations: 0.7452 MB / 0.8351 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005702/0.817, allocations: 316.4 kB / 0.8354 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.8184, allocations: 0.5457 MB / 0.836 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.821, allocations: 1.423 MB / 0.8374 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.821, allocations: 0 / 0.8374 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.344e-06/0.8211, allocations: 2.594 kB / 0.8374 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.954e-05/0.8211, allocations: 3.938 kB / 0.8374 GB, free: 11.16 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003466/0.8246, allocations: 1.454 MB / 0.8388 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.8247, allocations: 11.27 kB / 0.8388 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009559/0.8256, allocations: 192.9 kB / 0.839 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/0.8273, allocations: 0.8626 MB / 0.8398 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.258e-05/0.8274, allocations: 46.47 kB / 0.8399 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.8275, allocations: 55.97 kB / 0.8399 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.8289, allocations: 0.8211 MB / 0.8407 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.8289, allocations: 10.05 kB / 0.8407 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.866e-05/0.829, allocations: 20.72 kB / 0.8408 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.829, allocations: 23.44 kB / 0.8408 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.8301, allocations: 0.5563 MB / 0.8413 GB, free: 8.391 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.004944/0.835, allocations: 4.201 MB / 0.8454 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007816/0.8358, allocations: 441.9 kB / 0.8459 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004809/0.8363, allocations: 344.1 kB / 0.8462 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003274/0.8367, allocations: 195.3 kB / 0.8464 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000552/0.8372, allocations: 326.2 kB / 0.8467 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000442/0.8377, allocations: 41.33 kB / 0.8467 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 3.126e-06/0.8377, allocations: 0 / 0.8467 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.001554/0.8393, allocations: 0.6979 MB / 0.8474 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.8394, allocations: 85.92 kB / 0.8475 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.8411, allocations: 1.164 MB / 0.8486 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.122e-05/0.8411, allocations: 35.27 kB / 0.8487 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004241/0.8416, allocations: 482.8 kB / 0.8491 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.8417, allocations: 117.5 kB / 0.8492 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.8419, allocations: 117.5 kB / 0.8493 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.842, allocations: 326.5 kB / 0.8496 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004992/0.8425, allocations: 235 kB / 0.8499 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006449/0.8432, allocations: 0.5397 MB / 0.8504 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009333/0.8441, allocations: 0.672 MB / 0.8511 GB, free: 296 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.8442, allocations: 0 / 0.8511 GB, free: 296 kB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001433/0.8456, allocations: 0.7668 MB / 0.8518 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.8457, allocations: 37.7 kB / 0.8518 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.8457, allocations: 4 kB / 0.8518 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.8457, allocations: 8.656 kB / 0.8519 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.8463, allocations: 119.8 kB / 0.852 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.048e-05/0.8463, allocations: 11.94 kB / 0.852 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009506/0.8472, allocations: 63.86 kB / 0.852 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.395e-05/0.8473, allocations: 24 kB / 0.8521 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007927/0.8481, allocations: 0.5204 MB / 0.8526 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005752/0.8487, allocations: 0.503 MB / 0.8531 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008146/0.8495, allocations: 0.5958 MB / 0.8536 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.999e-06/0.8496, allocations: 4 kB / 0.8536 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001245/0.8508, allocations: 0.6894 MB / 0.8543 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.8508, allocations: 37.69 kB / 0.8544 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.8509, allocations: 4 kB / 0.8544 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.8509, allocations: 12.03 kB / 0.8544 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004591/0.8513, allocations: 116.6 kB / 0.8545 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.8514, allocations: 11.94 kB / 0.8545 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009272/0.8523, allocations: 64.25 kB / 0.8546 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.934e-05/0.8524, allocations: 23.94 kB / 0.8546 GB, free: 12.42 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_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002383/0.8526, allocations: 228 kB / 0.8548 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002444/0.8529, allocations: 102.8 kB / 0.8549 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.854, allocations: 0.5308 MB / 0.8554 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.854, allocations: 7.984 kB / 0.8554 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.854, allocations: 0 / 0.8554 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.854, allocations: 3.938 kB / 0.8554 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/0.8564, allocations: 1.501 MB / 0.8569 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.8564, allocations: 4.219 kB / 0.8569 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/0.8567, allocations: 71.89 kB / 0.857 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.8568, allocations: 11.98 kB / 0.857 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.8568, allocations: 8 kB / 0.857 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.8568, allocations: 4 kB / 0.857 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8568, allocations: 0 / 0.857 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000948/0.8578, allocations: 0.6625 MB / 0.8576 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004172/0.8582, allocations: 223.8 kB / 0.8578 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.8584, allocations: 15.98 kB / 0.8579 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006462/0.8591, allocations: 31.95 kB / 0.8579 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.8592, allocations: 31.95 kB / 0.8579 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.8592, allocations: 12 kB / 0.8579 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001172/0.8604, allocations: 0.8275 MB / 0.8587 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8604, allocations: 0 / 0.8587 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001421/0.8618, allocations: 423.5 kB / 0.8591 GB, free: 7.59 MB / 0.6231 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005217/0.8624, allocations: 180.5 kB / 0.8593 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001567/0.8639, allocations: 0.9032 MB / 0.8602 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.864, allocations: 0 / 0.8602 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003735/0.8643, allocations: 232.2 kB / 0.8604 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/0.8666, allocations: 0.4917 MB / 0.8609 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003109/0.8698, allocations: 1.812 MB / 0.8627 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007848/0.8706, allocations: 1.182 MB / 0.8638 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000278/0.8709, allocations: 87.36 kB / 0.8639 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of SimCode: time 1.162e-06/0.8709, allocations: 0 / 0.8639 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of Templates: time 0.02807/0.8989, allocations: 16.67 MB / 0.8802 GB, free: 2.047 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)