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.001267/0.001267, allocations: 106.5 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.001288/0.001288, allocations: 189.6 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.295/1.295, 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.7904/0.7904, allocations: 132.2 MB / 423.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 59.53 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1717, allocations: 80.2 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.5811/0.7529, allocations: 161.6 MB / 0.8182 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00573/0.7587, allocations: 3.618 MB / 0.8217 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003894/0.7591, allocations: 19.66 kB / 0.8217 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006388/0.7598, allocations: 160.2 kB / 0.8219 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.7614, allocations: 0.5234 MB / 0.8224 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.7627, allocations: 436 kB / 0.8228 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002713/0.7654, allocations: 2.541 MB / 0.8253 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/0.7667, allocations: 0.9403 MB / 0.8262 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001761/0.7684, allocations: 1.048 MB / 0.8272 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007772/0.7692, allocations: 0.6992 MB / 0.8279 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.7693, allocations: 59.78 kB / 0.828 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.7708, allocations: 0.7346 MB / 0.8287 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003229/0.7712, allocations: 313.2 kB / 0.829 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006368/0.7718, allocations: 0.5457 MB / 0.8295 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.7735, allocations: 1.409 MB / 0.8309 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.7735, allocations: 0 / 0.8309 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7735, allocations: 0 / 0.8309 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.7735, allocations: 3.938 kB / 0.8309 GB, free: 1.895 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.002337/0.7759, allocations: 1.452 MB / 0.8323 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.7759, allocations: 10.09 kB / 0.8323 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007403/0.7767, allocations: 195.9 kB / 0.8325 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.778, allocations: 0.8489 MB / 0.8333 GB, free: 60 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/0.778, allocations: 42.28 kB / 0.8334 GB, free: 44 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.337e-05/0.7781, allocations: 60.59 kB / 0.8334 GB, free: 24 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.7793, allocations: 0.7851 MB / 0.8342 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.7794, allocations: 6.688 kB / 0.8342 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.273e-05/0.7794, allocations: 20.69 kB / 0.8342 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.7794, allocations: 19.41 kB / 0.8342 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000872/0.7803, allocations: 0.5358 MB / 0.8348 GB, free: 15.17 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.003895/0.7842, allocations: 4.584 MB / 0.8392 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007123/0.7849, allocations: 415.4 kB / 0.8396 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003853/0.7853, allocations: 254 kB / 0.8399 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002982/0.7856, allocations: 191.5 kB / 0.8401 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005164/0.7862, allocations: 297.8 kB / 0.8403 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.535e-06/0.7862, allocations: 0 / 0.8403 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.003634/0.7898, allocations: 1.31 MB / 0.8416 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.7899, allocations: 82.05 kB / 0.8417 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.7913, allocations: 1.13 MB / 0.8428 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.615e-05/0.7913, allocations: 35.11 kB / 0.8428 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004029/0.7917, allocations: 486.7 kB / 0.8433 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.611e-05/0.7919, allocations: 113.2 kB / 0.8434 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.792, allocations: 114.8 kB / 0.8435 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.7922, allocations: 325.5 kB / 0.8438 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003875/0.7926, allocations: 216.2 kB / 0.844 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006083/0.7932, allocations: 0.519 MB / 0.8445 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000867/0.7941, allocations: 0.6307 MB / 0.8452 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.7941, allocations: 2.719 kB / 0.8452 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002152/0.7962, allocations: 1.03 MB / 0.8462 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/0.7963, allocations: 44.97 kB / 0.8462 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.7963, allocations: 5.469 kB / 0.8462 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.7977, allocations: 365.1 kB / 0.8466 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.7979, allocations: 61.28 kB / 0.8466 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.7989, allocations: 1.005 MB / 0.8476 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006768/0.7996, allocations: 81.64 kB / 0.8477 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.221e-05/0.7997, allocations: 23.69 kB / 0.8477 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007588/0.8005, allocations: 0.4961 MB / 0.8482 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005606/0.801, allocations: 489.9 kB / 0.8487 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007307/0.8018, allocations: 0.5605 MB / 0.8492 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.039e-05/0.8018, allocations: 4 kB / 0.8492 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001414/0.8032, allocations: 0.8183 MB / 0.85 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.8032, allocations: 38.33 kB / 0.85 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.8033, allocations: 15.92 kB / 0.8501 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004678/0.8037, allocations: 203.1 kB / 0.8503 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.8039, allocations: 67.84 kB / 0.8503 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003661/0.8076, allocations: 3.348 MB / 0.8536 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006099/0.8082, allocations: 67.97 kB / 0.8537 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.8083, allocations: 20 kB / 0.8537 GB, free: 14.66 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.0002044/0.8085, allocations: 216.1 kB / 0.8539 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.8086, allocations: 102.7 kB / 0.854 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.8099, allocations: 0.7024 MB / 0.8547 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.8099, allocations: 8 kB / 0.8547 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.8099, allocations: 0 / 0.8547 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.8099, allocations: 3.984 kB / 0.8547 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.8123, allocations: 1.603 MB / 0.8562 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.8123, allocations: 3.938 kB / 0.8562 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.8124, allocations: 23.98 kB / 0.8563 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004628/0.8129, allocations: 216.8 kB / 0.8565 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.8129, allocations: 11.98 kB / 0.8565 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00093/0.8138, allocations: 0.986 MB / 0.8574 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8138, allocations: 4.031 kB / 0.8575 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.8151, allocations: 0.8324 MB / 0.8583 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003752/0.8155, allocations: 215.8 kB / 0.8585 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.8157, allocations: 11.94 kB / 0.8585 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004525/0.8161, allocations: 23.97 kB / 0.8585 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-05/0.8162, allocations: 27.97 kB / 0.8585 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.8163, allocations: 15.98 kB / 0.8585 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001229/0.8175, allocations: 0.7916 MB / 0.8593 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8175, allocations: 0 / 0.8593 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001486/0.819, allocations: 431.4 kB / 0.8597 GB, free: 8.258 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.00051/0.8195, allocations: 178.5 kB / 0.8599 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002114/0.8217, allocations: 1.067 MB / 0.8609 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.8217, allocations: 4 kB / 0.8609 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004885/0.8222, allocations: 235 kB / 0.8612 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/0.8242, allocations: 456.9 kB / 0.8616 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003417/0.8276, allocations: 1.792 MB / 0.8634 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008544/0.8285, allocations: 1.181 MB / 0.8645 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.8287, allocations: 59.44 kB / 0.8646 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of SimCode: time 2.114e-06/0.8287, allocations: 0 / 0.8646 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of Templates: time 0.03033/0.859, allocations: 20.56 MB / 0.8846 GB, free: 14.76 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)