Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7573/0.7573, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 403.4 MB, free: 7.023 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 114.8 kB / 484.3 MB, free: 8.688 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009774/0.0009775, allocations: 55.92 kB / 0.5618 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1288, allocations: 80.21 MB / 0.6402 GB, free: 6.766 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4429/0.5718, allocations: 159.4 MB / 0.7958 GB, free: 3.836 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002667/0.5745, allocations: 1.778 MB / 0.7975 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000222/0.5747, allocations: 11.88 kB / 0.7975 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005055/0.5752, allocations: 135.2 kB / 0.7977 GB, free: 1.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.5764, allocations: 498 kB / 0.7981 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009967/0.5774, allocations: 357.8 kB / 0.7985 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.003103/0.5805, allocations: 3.491 MB / 0.8019 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009297/0.5815, allocations: 0.7571 MB / 0.8026 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.583, allocations: 0.922 MB / 0.8035 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008767/0.5839, allocations: 0.7311 MB / 0.8042 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 9.755e-05/0.584, allocations: 36 kB / 0.8043 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.5856, allocations: 0.8107 MB / 0.8051 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002938/0.5859, allocations: 286.9 kB / 0.8053 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.000599/0.5865, allocations: 0.5127 MB / 0.8058 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.5881, allocations: 1.382 MB / 0.8072 GB, free: 8.125 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.5881, allocations: 0 / 0.8072 GB, free: 8.125 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5881, allocations: 0 / 0.8072 GB, free: 8.125 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.5881, allocations: 0 / 0.8072 GB, free: 8.125 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002619/0.5907, allocations: 1.443 MB / 0.8086 GB, free: 6.621 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.5908, allocations: 8.031 kB / 0.8086 GB, free: 6.613 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007493/0.5915, allocations: 190.4 kB / 0.8088 GB, free: 6.426 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.5929, allocations: 0.8022 MB / 0.8096 GB, free: 5.566 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.099e-05/0.593, allocations: 41 kB / 0.8096 GB, free: 5.527 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.93e-05/0.593, allocations: 64 kB / 0.8097 GB, free: 5.465 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.5942, allocations: 0.7887 MB / 0.8104 GB, free: 4.598 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.5942, allocations: 0 / 0.8104 GB, free: 4.598 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.101e-05/0.5943, allocations: 31.98 kB / 0.8105 GB, free: 4.566 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.5943, allocations: 12 kB / 0.8105 GB, free: 4.555 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000903/0.5952, allocations: 0.5344 MB / 0.811 GB, free: 4.02 MB / 0.5417 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.004097/0.5993, allocations: 4.602 MB / 0.8155 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007117/0.6, allocations: 410.3 kB / 0.8159 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003787/0.6004, allocations: 248.7 kB / 0.8161 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003228/0.6008, allocations: 190.2 kB / 0.8163 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004836/0.6013, allocations: 293 kB / 0.8166 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=31): time 2.103e-06/0.6013, allocations: 4 kB / 0.8166 GB, free: 13.85 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31): time 0.001388/0.6027, allocations: 0.6335 MB / 0.8172 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.6027, allocations: 81.11 kB / 0.8173 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.604, allocations: 1.118 MB / 0.8184 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.604, allocations: 37.7 kB / 0.8184 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/0.6044, allocations: 0.4884 MB / 0.8189 GB, free: 11.44 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.6045, allocations: 106.5 kB / 0.819 GB, free: 11.33 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.6047, allocations: 113.9 kB / 0.8191 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.6048, allocations: 329.9 kB / 0.8194 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/0.6052, allocations: 214.4 kB / 0.8196 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005617/0.6058, allocations: 0.5135 MB / 0.8201 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008357/0.6066, allocations: 0.6305 MB / 0.8207 GB, free: 9.316 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.6066, allocations: 0 / 0.8207 GB, free: 9.316 MB / 0.5573 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001156/0.6078, allocations: 0.7219 MB / 0.8215 GB, free: 8.582 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.032e-05/0.6079, allocations: 34.8 kB / 0.8215 GB, free: 8.543 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.6079, allocations: 4 kB / 0.8215 GB, free: 8.539 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.6079, allocations: 8 kB / 0.8215 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/0.6083, allocations: 107.9 kB / 0.8216 GB, free: 8.426 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.6083, allocations: 16.09 kB / 0.8216 GB, free: 8.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006799/0.609, allocations: 103.6 kB / 0.8217 GB, free: 8.309 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.196e-05/0.6091, allocations: 35.92 kB / 0.8217 GB, free: 8.273 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006329/0.6097, allocations: 0.4889 MB / 0.8222 GB, free: 7.781 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000519/0.6103, allocations: 489.9 kB / 0.8227 GB, free: 7.168 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000731/0.611, allocations: 0.5647 MB / 0.8232 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.344e-06/0.611, allocations: 0 / 0.8232 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009808/0.612, allocations: 0.6459 MB / 0.8239 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.6121, allocations: 37.7 kB / 0.8239 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.6121, allocations: 7.938 kB / 0.8239 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.6121, allocations: 8.656 kB / 0.8239 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.6124, allocations: 103.9 kB / 0.824 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.6125, allocations: 11.94 kB / 0.824 GB, free: 5.691 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006364/0.6131, allocations: 88 kB / 0.8241 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.6131, allocations: 20 kB / 0.8241 GB, free: 5.586 MB / 0.5573 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 (53): * Single equations (assignments): 52 * 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.0001672/0.6133, allocations: 222.2 kB / 0.8244 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.6134, allocations: 94.78 kB / 0.8244 GB, free: 5.27 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008853/0.6143, allocations: 0.4942 MB / 0.8249 GB, free: 4.773 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.6143, allocations: 4 kB / 0.8249 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6144, allocations: 0 / 0.8249 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.6144, allocations: 7.922 kB / 0.8249 GB, free: 4.762 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.6164, allocations: 1.386 MB / 0.8263 GB, free: 3.301 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6164, allocations: 0 / 0.8263 GB, free: 3.301 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.6166, allocations: 63.89 kB / 0.8264 GB, free: 3.238 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.6166, allocations: 4 kB / 0.8264 GB, free: 3.234 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.6167, allocations: 13.14 kB / 0.8264 GB, free: 3.223 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.6167, allocations: 8 kB / 0.8264 GB, free: 3.215 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6167, allocations: 0 / 0.8264 GB, free: 3.215 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.6182, allocations: 1.545 MB / 0.8279 GB, free: 1.59 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003305/0.6185, allocations: 215.8 kB / 0.8281 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.703e-05/0.6186, allocations: 8 kB / 0.8281 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004297/0.6191, allocations: 43.95 kB / 0.8281 GB, free: 1.309 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.488e-05/0.6192, allocations: 27.91 kB / 0.8282 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.6192, allocations: 24.55 kB / 0.8282 GB, free: 1.258 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009201/0.6201, allocations: 0.7875 MB / 0.829 GB, free: 472 kB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6201, allocations: 0 / 0.829 GB, free: 472 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001218/0.6214, allocations: 407.4 kB / 0.8293 GB, free: 64 kB / 0.5573 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 (31): * Single equations (assignments): 29 * 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.0003825/0.6218, allocations: 184.8 kB / 0.8295 GB, free: 15.88 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001264/0.623, allocations: 0.813 MB / 0.8303 GB, free: 15.04 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.623, allocations: 0.6875 kB / 0.8303 GB, free: 15.04 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003506/0.6234, allocations: 203.7 kB / 0.8305 GB, free: 14.84 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/0.6255, allocations: 447.3 kB / 0.8309 GB, free: 14.41 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.6282, allocations: 2.271 MB / 0.8332 GB, free: 12.07 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006346/0.6289, allocations: 1.188 MB / 0.8343 GB, free: 10.85 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001061/0.6299, allocations: 427.6 kB / 0.8347 GB, free: 10.43 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.6301, allocations: 75.38 kB / 0.8348 GB, free: 10.35 MB / 0.573 GB Notification: Performance of SimCode: time 8.32e-07/0.6301, allocations: 0 / 0.8348 GB, free: 10.35 MB / 0.573 GB Notification: Performance of Templates: time 0.02691/0.657, allocations: 16.91 MB / 0.8513 GB, free: 9.629 MB / 0.5886 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)