Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00121/0.00121, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001117/0.001118, allocations: 183 kB / 17.34 MB, free: 5.766 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.766/0.766, allocations: 132.2 MB / 423.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 64.59 kB / 0.582 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1546, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.5543/0.7089, allocations: 161.6 MB / 0.8182 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005124/0.7141, allocations: 3.624 MB / 0.8217 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005632/0.7147, allocations: 8.781 kB / 0.8217 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007221/0.7154, allocations: 162.3 kB / 0.8219 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.7172, allocations: 0.5321 MB / 0.8224 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.7186, allocations: 442.5 kB / 0.8228 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002928/0.7216, allocations: 2.564 MB / 0.8253 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003006/0.7246, allocations: 2.412 MB / 0.8277 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0022/0.7268, allocations: 1.048 MB / 0.8287 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.7282, allocations: 0.7181 MB / 0.8294 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002432/0.7284, allocations: 58.09 kB / 0.8294 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.7303, allocations: 0.7451 MB / 0.8302 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005018/0.7308, allocations: 315.4 kB / 0.8305 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.732, allocations: 0.5408 MB / 0.831 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002328/0.7343, allocations: 1.431 MB / 0.8324 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.7343, allocations: 0 / 0.8324 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.755e-06/0.7343, allocations: 0 / 0.8324 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.144e-05/0.7344, allocations: 4 kB / 0.8324 GB, free: 0.9297 MB / 0.5919 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.00343/0.7378, allocations: 1.453 MB / 0.8338 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.7379, allocations: 14.08 kB / 0.8338 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000984/0.7389, allocations: 181.8 kB / 0.834 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.7405, allocations: 0.863 MB / 0.8349 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.053e-05/0.7406, allocations: 48.47 kB / 0.8349 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.7407, allocations: 56.34 kB / 0.835 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.742, allocations: 0.8242 MB / 0.8358 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.7421, allocations: 6.5 kB / 0.8358 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.646e-05/0.7421, allocations: 21.34 kB / 0.8358 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.7421, allocations: 16.66 kB / 0.8358 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009859/0.7431, allocations: 0.5627 MB / 0.8364 GB, free: 14.16 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.004428/0.7476, allocations: 4.197 MB / 0.8404 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007363/0.7483, allocations: 435.5 kB / 0.8409 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004806/0.7488, allocations: 352.7 kB / 0.8412 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003223/0.7492, allocations: 191.3 kB / 0.8414 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005466/0.7497, allocations: 323.7 kB / 0.8417 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003599/0.7501, allocations: 41.62 kB / 0.8417 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 4.379e-06/0.7501, allocations: 0 / 0.8417 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.001519/0.7516, allocations: 0.7024 MB / 0.8424 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.7517, allocations: 86.17 kB / 0.8425 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.7533, allocations: 1.16 MB / 0.8436 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.064e-05/0.7534, allocations: 43.05 kB / 0.8437 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/0.7538, allocations: 488.2 kB / 0.8441 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.7539, allocations: 112.3 kB / 0.8442 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.7541, allocations: 114.8 kB / 0.8444 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.7542, allocations: 329 kB / 0.8447 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/0.7546, allocations: 235.2 kB / 0.8449 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006356/0.7552, allocations: 0.5431 MB / 0.8454 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009217/0.7562, allocations: 0.6727 MB / 0.8461 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.7562, allocations: 2.906 kB / 0.8461 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001287/0.7575, allocations: 0.772 MB / 0.8468 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.7575, allocations: 33.45 kB / 0.8469 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.7576, allocations: 5.125 kB / 0.8469 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.7576, allocations: 7.75 kB / 0.8469 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005317/0.7581, allocations: 118.6 kB / 0.847 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.7581, allocations: 12.19 kB / 0.847 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008894/0.759, allocations: 65.48 kB / 0.8471 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.826e-05/0.7591, allocations: 24.56 kB / 0.8471 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007614/0.7599, allocations: 0.5171 MB / 0.8476 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005553/0.7604, allocations: 0.5031 MB / 0.8481 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007994/0.7613, allocations: 0.5997 MB / 0.8487 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.508e-06/0.7613, allocations: 0 / 0.8487 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001156/0.7624, allocations: 0.6931 MB / 0.8494 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.7625, allocations: 33.7 kB / 0.8494 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.7625, allocations: 8 kB / 0.8494 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.7625, allocations: 8 kB / 0.8494 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/0.7629, allocations: 107.8 kB / 0.8495 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.763, allocations: 14.36 kB / 0.8495 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008488/0.7638, allocations: 68.53 kB / 0.8496 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.7639, allocations: 27.94 kB / 0.8496 GB, free: 3.164 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_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.0001961/0.7641, allocations: 221.4 kB / 0.8498 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.7643, allocations: 106.7 kB / 0.8499 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.7653, allocations: 0.5326 MB / 0.8504 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.7653, allocations: 7.938 kB / 0.8504 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.7654, allocations: 4 kB / 0.8505 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.7654, allocations: 3.938 kB / 0.8505 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/0.7676, allocations: 1.501 MB / 0.8519 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.7676, allocations: 0 / 0.8519 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.768, allocations: 71.81 kB / 0.852 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.768, allocations: 8.219 kB / 0.852 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.7681, allocations: 8 kB / 0.852 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.7681, allocations: 4 kB / 0.852 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.289e-06/0.7681, allocations: 4 kB / 0.852 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009306/0.769, allocations: 0.6702 MB / 0.8527 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003847/0.7694, allocations: 223.8 kB / 0.8529 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/0.7696, allocations: 12 kB / 0.8529 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006453/0.7702, allocations: 43.94 kB / 0.8529 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.583e-05/0.7704, allocations: 23.97 kB / 0.853 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.7704, allocations: 19.94 kB / 0.853 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001095/0.7715, allocations: 0.8159 MB / 0.8538 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7715, allocations: 4 kB / 0.8538 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001298/0.7728, allocations: 427.4 kB / 0.8542 GB, free: 14.32 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.0005153/0.7733, allocations: 178.7 kB / 0.8544 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.7749, allocations: 0.8937 MB / 0.8552 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.7749, allocations: 4 kB / 0.8552 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003756/0.7753, allocations: 217.1 kB / 0.8554 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/0.7774, allocations: 0.4999 MB / 0.8559 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.7805, allocations: 1.815 MB / 0.8577 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008235/0.7813, allocations: 1.178 MB / 0.8588 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002636/0.7816, allocations: 83.42 kB / 0.8589 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of SimCode: time 3.457e-06/0.7816, allocations: 0 / 0.8589 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of Templates: time 0.02563/0.8073, allocations: 16.66 MB / 0.8752 GB, free: 8.852 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)