Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 112.1 kB / 16.42 MB, free: 6.445 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.0009859/0.000986, allocations: 186.6 kB / 17.35 MB, free: 5.742 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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7705/0.7705, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.09 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1246, allocations: 80.21 MB / 0.6604 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.4634/0.588, allocations: 167.8 MB / 0.8242 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003757/0.5918, allocations: 2.197 MB / 0.8263 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005202/0.5924, allocations: 15.97 kB / 0.8263 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007791/0.5931, allocations: 250.4 kB / 0.8266 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001848/0.5951, allocations: 0.7061 MB / 0.8273 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.5963, allocations: 443 kB / 0.8277 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002844/0.5992, allocations: 2.763 MB / 0.8304 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002871/0.6021, allocations: 2.552 MB / 0.8329 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00221/0.6043, allocations: 1.278 MB / 0.8341 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.6057, allocations: 0.8682 MB / 0.835 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002456/0.6059, allocations: 75.88 kB / 0.8351 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001701/0.6076, allocations: 0.8197 MB / 0.8359 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004385/0.6081, allocations: 363.3 kB / 0.8362 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009564/0.6091, allocations: 0.6159 MB / 0.8368 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.611, allocations: 1.631 MB / 0.8384 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.611, allocations: 4 kB / 0.8384 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.611, allocations: 0 / 0.8384 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.749e-05/0.6111, allocations: 0 / 0.8384 GB, free: 12.15 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002927/0.614, allocations: 1.621 MB / 0.84 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.6141, allocations: 7.5 kB / 0.84 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008319/0.6149, allocations: 199.7 kB / 0.8402 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.6165, allocations: 0.93 MB / 0.8411 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.6165, allocations: 52.72 kB / 0.8411 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.6166, allocations: 67.75 kB / 0.8412 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.618, allocations: 0.9863 MB / 0.8422 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.6181, allocations: 2.094 kB / 0.8422 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.889e-05/0.6181, allocations: 21.25 kB / 0.8422 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.6182, allocations: 15.38 kB / 0.8422 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.6194, allocations: 0.8053 MB / 0.843 GB, free: 9.016 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.004354/0.6238, allocations: 4.761 MB / 0.8476 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/0.6262, allocations: 4.014 MB / 0.8516 GB, free: 184 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004805/0.6267, allocations: 348.4 kB / 0.8519 GB, free: 12 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002996/0.627, allocations: 195.4 kB / 0.8521 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005192/0.6275, allocations: 326.4 kB / 0.8524 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002252/0.6278, allocations: 31.44 kB / 0.8524 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=35): time 2.164e-06/0.6278, allocations: 2.469 kB / 0.8524 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=35): time 0.004572/0.6324, allocations: 1.585 MB / 0.854 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.6324, allocations: 89.05 kB / 0.8541 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.6338, allocations: 1.18 MB / 0.8552 GB, free: 13 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.6339, allocations: 37.7 kB / 0.8552 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000407/0.6343, allocations: 0.5121 MB / 0.8557 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.833e-05/0.6344, allocations: 118.3 kB / 0.8559 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.6346, allocations: 118.1 kB / 0.856 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.6347, allocations: 330 kB / 0.8563 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/0.6351, allocations: 242.8 kB / 0.8565 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006908/0.6358, allocations: 0.5574 MB / 0.8571 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009792/0.6368, allocations: 0.6819 MB / 0.8577 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.6368, allocations: 4 kB / 0.8577 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002277/0.6391, allocations: 1.103 MB / 0.8588 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.6392, allocations: 33.7 kB / 0.8588 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.6392, allocations: 4 kB / 0.8588 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.6404, allocations: 348.5 kB / 0.8592 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.6408, allocations: 99.8 kB / 0.8593 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009818/0.6418, allocations: 1.003 MB / 0.8602 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008249/0.6426, allocations: 63.98 kB / 0.8603 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-05/0.6427, allocations: 27.98 kB / 0.8603 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007282/0.6434, allocations: 0.5243 MB / 0.8608 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005604/0.644, allocations: 0.5215 MB / 0.8614 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007715/0.6448, allocations: 0.5993 MB / 0.8619 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/0.6448, allocations: 0 / 0.8619 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001514/0.6463, allocations: 0.8928 MB / 0.8628 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.6464, allocations: 39.27 kB / 0.8629 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.6464, allocations: 8 kB / 0.8629 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000522/0.6469, allocations: 224.6 kB / 0.8631 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.6473, allocations: 95.7 kB / 0.8632 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003503/0.6508, allocations: 3.172 MB / 0.8663 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008554/0.6517, allocations: 67.92 kB / 0.8663 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/0.6517, allocations: 20 kB / 0.8663 GB, free: 0.9102 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * 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.0001998/0.6519, allocations: 224.1 kB / 0.8666 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.6521, allocations: 110.7 kB / 0.8667 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/0.6535, allocations: 0.7735 MB / 0.8674 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.6535, allocations: 7.922 kB / 0.8674 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6535, allocations: 4 kB / 0.8674 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003727/0.6539, allocations: 231.7 kB / 0.8677 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.654, allocations: 8 kB / 0.8677 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005564/0.6546, allocations: 35.94 kB / 0.8677 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.6547, allocations: 47.92 kB / 0.8677 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001555/0.6563, allocations: 0.8424 MB / 0.8686 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001241/0.6575, allocations: 1.004 MB / 0.8695 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003405/0.6579, allocations: 200.3 kB / 0.8697 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001/0.6589, allocations: 0.8327 MB / 0.8705 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of Backend: time 3.4e-07/0.6589, allocations: 0 / 0.8705 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002792/0.6617, allocations: 1.219 MB / 0.8717 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of SimCode: time 0.00384/0.6656, allocations: 2.768 MB / 0.8744 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of Templates: time 0.03259/0.6982, allocations: 22 MB / 0.8959 GB, free: 2.707 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)