Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001387/0.001387, allocations: 109 kB / 16.41 MB, free: 6.5 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.001332/0.001332, allocations: 183 kB / 17.34 MB, free: 5.762 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.414/1.414, 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-master/package.mo): time 0.8521/0.8521, allocations: 135.2 MB / 426.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 63.36 kB / 0.5863 GB, free: 21.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1666, allocations: 80.93 MB / 0.6654 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.6303/0.7969, allocations: 162.1 MB / 0.8236 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005616/0.8025, allocations: 3.628 MB / 0.8272 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004649/0.803, allocations: 16.22 kB / 0.8272 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006622/0.8037, allocations: 164.9 kB / 0.8273 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.8053, allocations: 0.5526 MB / 0.8279 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.8065, allocations: 438.5 kB / 0.8283 GB, free: 416 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002868/0.8094, allocations: 2.534 MB / 0.8308 GB, free: 15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.8107, allocations: 0.8106 MB / 0.8316 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002096/0.8128, allocations: 1.043 MB / 0.8326 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.8139, allocations: 0.7017 MB / 0.8333 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.814, allocations: 53.69 kB / 0.8333 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.8156, allocations: 0.7513 MB / 0.8341 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003541/0.816, allocations: 318.2 kB / 0.8344 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007419/0.8167, allocations: 0.5332 MB / 0.8349 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001974/0.8187, allocations: 1.421 MB / 0.8363 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.8187, allocations: 4 kB / 0.8363 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8187, allocations: 0 / 0.8363 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.798e-05/0.8187, allocations: 0 / 0.8363 GB, free: 11.79 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.002454/0.8212, allocations: 1.489 MB / 0.8377 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.8212, allocations: 15.33 kB / 0.8377 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008179/0.822, allocations: 195.6 kB / 0.8379 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.8234, allocations: 0.8578 MB / 0.8388 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.611e-05/0.8235, allocations: 41.88 kB / 0.8388 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-05/0.8236, allocations: 57.09 kB / 0.8389 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.8248, allocations: 0.7916 MB / 0.8396 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.8249, allocations: 3.938 kB / 0.8396 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-05/0.8249, allocations: 27.77 kB / 0.8397 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.8249, allocations: 20.5 kB / 0.8397 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009515/0.8259, allocations: 0.5328 MB / 0.8402 GB, free: 9.004 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.005162/0.8311, allocations: 4.592 MB / 0.8447 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007802/0.8318, allocations: 405.2 kB / 0.8451 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003909/0.8322, allocations: 228.9 kB / 0.8453 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003269/0.8326, allocations: 195.7 kB / 0.8455 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005279/0.8331, allocations: 291.6 kB / 0.8458 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 3.767e-06/0.8331, allocations: 11.92 kB / 0.8458 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.003918/0.837, allocations: 1.305 MB / 0.847 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.8371, allocations: 85.91 kB / 0.8471 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.8386, allocations: 1.119 MB / 0.8482 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.534e-05/0.8387, allocations: 38.95 kB / 0.8483 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004734/0.8392, allocations: 495.7 kB / 0.8487 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.8393, allocations: 118.8 kB / 0.8488 GB, free: 2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.8395, allocations: 110.7 kB / 0.8489 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.8396, allocations: 323.8 kB / 0.8493 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004084/0.84, allocations: 212.5 kB / 0.8495 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006581/0.8407, allocations: 0.5252 MB / 0.85 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009033/0.8416, allocations: 0.633 MB / 0.8506 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.8416, allocations: 0 / 0.8506 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002442/0.844, allocations: 1.034 MB / 0.8516 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.455e-05/0.8441, allocations: 33.7 kB / 0.8516 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.8441, allocations: 4 kB / 0.8516 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001365/0.8455, allocations: 361 kB / 0.852 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.8457, allocations: 59.91 kB / 0.852 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.8469, allocations: 1.017 MB / 0.853 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008452/0.8478, allocations: 75.7 kB / 0.8531 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.206e-05/0.8478, allocations: 27.98 kB / 0.8531 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008775/0.8487, allocations: 0.4928 MB / 0.8536 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006699/0.8494, allocations: 489.9 kB / 0.8541 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008507/0.8502, allocations: 0.5646 MB / 0.8546 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.597e-06/0.8502, allocations: 0 / 0.8546 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001779/0.852, allocations: 0.8269 MB / 0.8554 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.225e-05/0.852, allocations: 33.7 kB / 0.8555 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.852, allocations: 8.562 kB / 0.8555 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005262/0.8526, allocations: 208.6 kB / 0.8557 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.8528, allocations: 63.89 kB / 0.8557 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004327/0.8571, allocations: 3.342 MB / 0.859 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009177/0.858, allocations: 72.12 kB / 0.8591 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-05/0.8581, allocations: 27.92 kB / 0.8591 GB, free: 7.551 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.0002491/0.8583, allocations: 213.8 kB / 0.8593 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.8585, allocations: 107.3 kB / 0.8594 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.8599, allocations: 0.7024 MB / 0.8601 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.86, allocations: 7.938 kB / 0.8601 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.86, allocations: 4 kB / 0.8601 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.86, allocations: 0 / 0.8601 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002663/0.8626, allocations: 1.591 MB / 0.8617 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.8626, allocations: 11.95 kB / 0.8617 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.8628, allocations: 23.92 kB / 0.8617 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004912/0.8632, allocations: 218.2 kB / 0.8619 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.8633, allocations: 8 kB / 0.8619 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.8643, allocations: 0.9836 MB / 0.8629 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.8643, allocations: 0 / 0.8629 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.8656, allocations: 0.8296 MB / 0.8637 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003994/0.866, allocations: 216.4 kB / 0.8639 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.8662, allocations: 11.94 kB / 0.8639 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004128/0.8666, allocations: 23.97 kB / 0.8639 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.159e-05/0.8667, allocations: 31.97 kB / 0.8639 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.8667, allocations: 8 kB / 0.864 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001135/0.8678, allocations: 0.7994 MB / 0.8647 GB, free: 1.578 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.8678, allocations: 0 / 0.8647 GB, free: 1.578 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001346/0.8692, allocations: 435.5 kB / 0.8651 GB, free: 1.152 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.000501/0.8697, allocations: 177.5 kB / 0.8653 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002134/0.8718, allocations: 1.043 MB / 0.8663 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.8718, allocations: 0 / 0.8663 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004887/0.8723, allocations: 211.1 kB / 0.8665 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/0.8743, allocations: 463.2 kB / 0.867 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003141/0.8775, allocations: 1.841 MB / 0.8688 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000858/0.8783, allocations: 1.188 MB / 0.8699 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.8785, allocations: 67.42 kB / 0.87 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of SimCode: time 9.02e-07/0.8785, allocations: 3.938 kB / 0.87 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of Templates: time 0.03141/0.9099, allocations: 20.51 MB / 0.89 GB, free: 7.617 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)