Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005021/0.005021, allocations: 101.6 kB / 15.73 MB, free: 6.039 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.00116/0.00116, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7977/0.7977, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.17 kB / 0.5814 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.154, allocations: 80.22 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.5533/0.7073, allocations: 161.6 MB / 0.8175 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005154/0.7126, allocations: 3.622 MB / 0.8211 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004298/0.713, allocations: 11.69 kB / 0.8211 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006508/0.7137, allocations: 166.4 kB / 0.8212 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.7151, allocations: 0.5534 MB / 0.8218 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.7163, allocations: 436.8 kB / 0.8222 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002509/0.7188, allocations: 2.54 MB / 0.8247 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.72, allocations: 0.9362 MB / 0.8256 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.7216, allocations: 1.051 MB / 0.8266 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007846/0.7224, allocations: 0.7076 MB / 0.8273 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.923e-05/0.7225, allocations: 55.06 kB / 0.8273 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.7238, allocations: 0.7433 MB / 0.8281 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003021/0.7241, allocations: 313.6 kB / 0.8284 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005935/0.7247, allocations: 0.5412 MB / 0.8289 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.7262, allocations: 1.415 MB / 0.8303 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7262, allocations: 0 / 0.8303 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7262, allocations: 0 / 0.8303 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.7263, allocations: 0 / 0.8303 GB, free: 1.934 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.002113/0.7284, allocations: 1.447 MB / 0.8317 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.7284, allocations: 14.31 kB / 0.8317 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007651/0.7292, allocations: 184.8 kB / 0.8319 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.7304, allocations: 0.8507 MB / 0.8327 GB, free: 108 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.7305, allocations: 41.44 kB / 0.8328 GB, free: 92 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.589e-05/0.7306, allocations: 59.28 kB / 0.8328 GB, free: 76 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.7318, allocations: 0.7927 MB / 0.8336 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.7318, allocations: 0 / 0.8336 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-05/0.7318, allocations: 23.72 kB / 0.8336 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.7319, allocations: 20.84 kB / 0.8336 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008706/0.7327, allocations: 0.5295 MB / 0.8341 GB, free: 15.22 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.004058/0.7368, allocations: 4.595 MB / 0.8386 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007016/0.7375, allocations: 415.8 kB / 0.839 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003595/0.7379, allocations: 247.1 kB / 0.8393 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002811/0.7382, allocations: 191.9 kB / 0.8394 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004839/0.7387, allocations: 296.3 kB / 0.8397 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.294e-06/0.7387, allocations: 224 / 0.8397 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.003905/0.7426, allocations: 1.309 MB / 0.841 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.066e-05/0.7427, allocations: 94.25 kB / 0.8411 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.7441, allocations: 1.116 MB / 0.8422 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.333e-05/0.7442, allocations: 38.55 kB / 0.8422 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003966/0.7446, allocations: 494.4 kB / 0.8427 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.7447, allocations: 101.7 kB / 0.8428 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.7449, allocations: 118.5 kB / 0.8429 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.745, allocations: 333.6 kB / 0.8432 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003805/0.7454, allocations: 213.2 kB / 0.8434 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005672/0.746, allocations: 0.5164 MB / 0.8439 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008399/0.7469, allocations: 0.6213 MB / 0.8445 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.7469, allocations: 3.984 kB / 0.8445 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002321/0.7492, allocations: 1.046 MB / 0.8456 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.625e-05/0.7493, allocations: 39.98 kB / 0.8456 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.7493, allocations: 5.219 kB / 0.8456 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/0.7507, allocations: 364.8 kB / 0.846 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.7509, allocations: 65.25 kB / 0.846 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.752, allocations: 1.009 MB / 0.847 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007944/0.7528, allocations: 77.39 kB / 0.8471 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.7529, allocations: 24.16 kB / 0.8471 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007375/0.7536, allocations: 0.4993 MB / 0.8476 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005175/0.7541, allocations: 490 kB / 0.8481 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007285/0.7549, allocations: 0.5528 MB / 0.8486 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.318e-06/0.7549, allocations: 8 kB / 0.8486 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001539/0.7564, allocations: 0.8227 MB / 0.8494 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.7565, allocations: 37.69 kB / 0.8494 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.7565, allocations: 7.938 kB / 0.8494 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005034/0.757, allocations: 200.7 kB / 0.8496 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.7572, allocations: 63.91 kB / 0.8497 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003664/0.7609, allocations: 3.346 MB / 0.853 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007905/0.7617, allocations: 67.97 kB / 0.853 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/0.7618, allocations: 20 kB / 0.8531 GB, free: 14.71 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 (34): * Single equations (assignments): 32 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002046/0.762, allocations: 216.2 kB / 0.8533 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.7621, allocations: 110.7 kB / 0.8534 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.7634, allocations: 0.7023 MB / 0.854 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.7634, allocations: 4 kB / 0.8541 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.7634, allocations: 96 / 0.8541 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.7634, allocations: 11.91 kB / 0.8541 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.7658, allocations: 1.595 MB / 0.8556 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.7658, allocations: 3.938 kB / 0.8556 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.7659, allocations: 19.98 kB / 0.8556 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004677/0.7664, allocations: 236.6 kB / 0.8559 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.7664, allocations: 12.22 kB / 0.8559 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008972/0.7673, allocations: 0.9765 MB / 0.8568 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.7674, allocations: 0 / 0.8568 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.7686, allocations: 0.8252 MB / 0.8576 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003657/0.769, allocations: 215.8 kB / 0.8578 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.7691, allocations: 15.92 kB / 0.8579 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000436/0.7696, allocations: 19.98 kB / 0.8579 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.588e-05/0.7697, allocations: 31.95 kB / 0.8579 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.7697, allocations: 15.94 kB / 0.8579 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00106/0.7708, allocations: 0.7955 MB / 0.8587 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7708, allocations: 0 / 0.8587 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001257/0.7721, allocations: 431.4 kB / 0.8591 GB, free: 8.301 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004668/0.7725, allocations: 173 kB / 0.8593 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001893/0.7744, allocations: 1.067 MB / 0.8603 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7745, allocations: 0 / 0.8603 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005031/0.775, allocations: 242.8 kB / 0.8606 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/0.7769, allocations: 460.2 kB / 0.861 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.7797, allocations: 1.744 MB / 0.8627 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007355/0.7805, allocations: 1.184 MB / 0.8639 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007662/0.7813, allocations: 311.8 kB / 0.8641 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.7814, allocations: 67.36 kB / 0.8642 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of SimCode: time 6.91e-07/0.7814, allocations: 0 / 0.8642 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of Templates: time 0.02972/0.8111, allocations: 19.79 MB / 0.8835 GB, free: 15.39 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)