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.001103/0.001103, allocations: 108.9 kB / 16.41 MB, free: 6.516 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.001202/0.001202, allocations: 190.7 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.282/1.282, 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.7739/0.7739, allocations: 132.2 MB / 423.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001196, allocations: 63.03 kB / 0.582 GB, free: 23.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1266, allocations: 80.2 MB / 0.6604 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.4533/0.5799, allocations: 161.6 MB / 0.8182 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004602/0.5845, allocations: 3.615 MB / 0.8217 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002994/0.5849, allocations: 15.59 kB / 0.8217 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005336/0.5854, allocations: 170.4 kB / 0.8219 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001241/0.5867, allocations: 0.5481 MB / 0.8224 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.5878, allocations: 442.8 kB / 0.8228 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00236/0.5901, allocations: 2.569 MB / 0.8254 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002427/0.5926, allocations: 2.416 MB / 0.8277 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001512/0.5941, allocations: 1.05 MB / 0.8287 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007358/0.5948, allocations: 0.7175 MB / 0.8294 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.5949, allocations: 58.31 kB / 0.8295 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.5962, allocations: 0.7536 MB / 0.8302 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002822/0.5965, allocations: 315.1 kB / 0.8305 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005319/0.5971, allocations: 0.5455 MB / 0.8311 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.5984, allocations: 1.426 MB / 0.8325 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.5984, allocations: 0 / 0.8325 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5985, allocations: 1.812 kB / 0.8325 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.5985, allocations: 0 / 0.8325 GB, free: 0.8594 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.002257/0.6007, allocations: 1.459 MB / 0.8339 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.6008, allocations: 10.09 kB / 0.8339 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007537/0.6015, allocations: 193.8 kB / 0.8341 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.6028, allocations: 0.8553 MB / 0.8349 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.733e-05/0.6029, allocations: 42.22 kB / 0.835 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.977e-05/0.603, allocations: 58.88 kB / 0.835 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.6041, allocations: 0.8276 MB / 0.8358 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.6041, allocations: 2.469 kB / 0.8358 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/0.6042, allocations: 21.34 kB / 0.8358 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.6042, allocations: 16.75 kB / 0.8359 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008823/0.6051, allocations: 0.5624 MB / 0.8364 GB, free: 14.09 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.003547/0.6087, allocations: 4.202 MB / 0.8405 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006729/0.6093, allocations: 437.4 kB / 0.8409 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004415/0.6098, allocations: 346.5 kB / 0.8413 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/0.6101, allocations: 200.2 kB / 0.8414 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004865/0.6106, allocations: 323.6 kB / 0.8418 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001451/0.6107, allocations: 37.28 kB / 0.8418 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.6107, allocations: 0 / 0.8418 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.001294/0.612, allocations: 0.7013 MB / 0.8425 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.6121, allocations: 82.83 kB / 0.8426 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.6133, allocations: 1.158 MB / 0.8437 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/0.6133, allocations: 37.17 kB / 0.8437 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003817/0.6137, allocations: 488.1 kB / 0.8442 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.062e-05/0.6138, allocations: 109.7 kB / 0.8443 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.614, allocations: 121.4 kB / 0.8444 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.6141, allocations: 333 kB / 0.8447 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/0.6145, allocations: 231.2 kB / 0.8449 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000584/0.6151, allocations: 0.5471 MB / 0.8455 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008588/0.6159, allocations: 0.671 MB / 0.8461 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.6159, allocations: 1.938 kB / 0.8461 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001119/0.6171, allocations: 0.7655 MB / 0.8469 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.562e-05/0.6171, allocations: 35.52 kB / 0.8469 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.6171, allocations: 13.33 kB / 0.8469 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.6172, allocations: 11.34 kB / 0.8469 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004992/0.6177, allocations: 116.4 kB / 0.8471 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.6177, allocations: 9.531 kB / 0.8471 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007127/0.6184, allocations: 64.3 kB / 0.8471 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-05/0.6185, allocations: 26.28 kB / 0.8471 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006753/0.6191, allocations: 0.5215 MB / 0.8477 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005658/0.6197, allocations: 0.4991 MB / 0.8481 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007927/0.6205, allocations: 0.5996 MB / 0.8487 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.805e-06/0.6205, allocations: 4 kB / 0.8487 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001074/0.6216, allocations: 0.6927 MB / 0.8494 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.6216, allocations: 34.36 kB / 0.8494 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.6217, allocations: 4 kB / 0.8494 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.6217, allocations: 12 kB / 0.8495 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000457/0.6221, allocations: 111.8 kB / 0.8496 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.6222, allocations: 8 kB / 0.8496 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007374/0.6229, allocations: 68.25 kB / 0.8496 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.6229, allocations: 27.92 kB / 0.8497 GB, free: 3.121 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.0001692/0.6231, allocations: 225.3 kB / 0.8499 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.6232, allocations: 102.7 kB / 0.85 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009759/0.6242, allocations: 0.5344 MB / 0.8505 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.6242, allocations: 0 / 0.8505 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.6243, allocations: 0 / 0.8505 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/0.6246, allocations: 231.8 kB / 0.8507 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.6248, allocations: 8 kB / 0.8507 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005444/0.6253, allocations: 35.94 kB / 0.8508 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.659e-05/0.6254, allocations: 27.97 kB / 0.8508 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001041/0.6265, allocations: 0.6053 MB / 0.8514 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008804/0.6273, allocations: 0.761 MB / 0.8521 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003282/0.6277, allocations: 216.4 kB / 0.8523 GB, free: 344 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009973/0.6287, allocations: 0.8199 MB / 0.8531 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of Backend: time 6.01e-07/0.6287, allocations: 0 / 0.8531 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00216/0.6309, allocations: 0.943 MB / 0.8541 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of SimCode: time 0.003866/0.6347, allocations: 2.525 MB / 0.8565 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of Templates: time 0.03151/0.6663, allocations: 20.73 MB / 0.8768 GB, free: 7.477 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)