Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007188/0.007188, allocations: 97.3 kB / 15.73 MB, free: 6.055 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.001212/0.001212, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7736/0.7736, allocations: 132.2 MB / 422.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 59.91 kB / 0.5813 GB, free: 7.547 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4184, allocations: 80.21 MB / 0.6597 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.1717/0.5902, allocations: 161.6 MB / 0.8175 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003256/0.5935, allocations: 1.757 MB / 0.8192 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000361/0.5938, allocations: 11.94 kB / 0.8192 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006141/0.5945, allocations: 162.9 kB / 0.8194 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.596, allocations: 0.525 MB / 0.8199 GB, free: 1.578 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.5972, allocations: 394.3 kB / 0.8203 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002606/0.5998, allocations: 2.554 MB / 0.8228 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00265/0.6025, allocations: 2.412 MB / 0.8251 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/0.6044, allocations: 1.028 MB / 0.8261 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008864/0.6053, allocations: 0.7156 MB / 0.8268 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.6054, allocations: 56 kB / 0.8269 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.6068, allocations: 0.7445 MB / 0.8276 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003037/0.6071, allocations: 318.8 kB / 0.8279 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006242/0.6077, allocations: 0.544 MB / 0.8284 GB, free: 8.797 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.6094, allocations: 1.435 MB / 0.8298 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.6094, allocations: 0 / 0.8298 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6094, allocations: 0 / 0.8298 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.194e-05/0.6094, allocations: 4 kB / 0.8298 GB, free: 7.355 MB / 0.6544 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.002145/0.6116, allocations: 1.485 MB / 0.8313 GB, free: 5.809 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.6116, allocations: 8.031 kB / 0.8313 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007378/0.6124, allocations: 191.1 kB / 0.8315 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.6136, allocations: 0.8695 MB / 0.8323 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.6136, allocations: 41 kB / 0.8324 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.542e-05/0.6137, allocations: 64 kB / 0.8324 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.6149, allocations: 0.8276 MB / 0.8332 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.6149, allocations: 0 / 0.8332 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.846e-05/0.615, allocations: 24 kB / 0.8333 GB, free: 3.656 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.615, allocations: 19.92 kB / 0.8333 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009109/0.6159, allocations: 0.5617 MB / 0.8338 GB, free: 3.078 MB / 0.6544 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.003619/0.6195, allocations: 4.212 MB / 0.8379 GB, free: 14.6 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007194/0.6203, allocations: 449.7 kB / 0.8384 GB, free: 14.15 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004624/0.6207, allocations: 342.5 kB / 0.8387 GB, free: 13.82 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002864/0.621, allocations: 194.2 kB / 0.8389 GB, free: 13.59 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005079/0.6216, allocations: 323.1 kB / 0.8392 GB, free: 13.25 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002158/0.6218, allocations: 35.89 kB / 0.8392 GB, free: 13.22 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 3.196e-06/0.6218, allocations: 112 / 0.8392 GB, free: 13.22 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.004673/0.6265, allocations: 1.558 MB / 0.8407 GB, free: 11.63 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.6266, allocations: 85.09 kB / 0.8408 GB, free: 11.53 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.6279, allocations: 1.151 MB / 0.8419 GB, free: 10.36 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.152e-05/0.628, allocations: 37.7 kB / 0.842 GB, free: 10.32 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/0.6284, allocations: 493.1 kB / 0.8425 GB, free: 9.836 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.36e-05/0.6285, allocations: 115 kB / 0.8426 GB, free: 9.723 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.6287, allocations: 114.2 kB / 0.8427 GB, free: 9.602 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.6288, allocations: 326 kB / 0.843 GB, free: 9.277 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/0.6292, allocations: 230.9 kB / 0.8432 GB, free: 9.051 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006413/0.6299, allocations: 0.554 MB / 0.8437 GB, free: 8.363 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009236/0.6308, allocations: 0.673 MB / 0.8444 GB, free: 7.613 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.6308, allocations: 0 / 0.8444 GB, free: 7.613 MB / 0.67 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002296/0.6331, allocations: 1.119 MB / 0.8455 GB, free: 6.477 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.6332, allocations: 33.7 kB / 0.8455 GB, free: 6.438 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.6332, allocations: 12 kB / 0.8455 GB, free: 6.426 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.6346, allocations: 421.1 kB / 0.8459 GB, free: 6.016 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.635, allocations: 95.8 kB / 0.846 GB, free: 5.922 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.6363, allocations: 1.092 MB / 0.8471 GB, free: 4.805 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008195/0.6372, allocations: 59.92 kB / 0.8472 GB, free: 4.746 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/0.6372, allocations: 27.94 kB / 0.8472 GB, free: 4.719 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000715/0.638, allocations: 0.5171 MB / 0.8477 GB, free: 4.199 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005349/0.6385, allocations: 0.4993 MB / 0.8482 GB, free: 3.566 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007717/0.6393, allocations: 0.6001 MB / 0.8488 GB, free: 2.887 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.975e-06/0.6393, allocations: 0 / 0.8488 GB, free: 2.887 MB / 0.67 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001595/0.6409, allocations: 0.9084 MB / 0.8496 GB, free: 1.961 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.797e-05/0.6409, allocations: 40.45 kB / 0.8497 GB, free: 1.918 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.641, allocations: 8 kB / 0.8497 GB, free: 1.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005229/0.6415, allocations: 228.7 kB / 0.8499 GB, free: 1.684 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.6418, allocations: 91.67 kB / 0.85 GB, free: 1.594 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003789/0.6456, allocations: 3.304 MB / 0.8532 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008564/0.6465, allocations: 60.25 kB / 0.8533 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/0.6466, allocations: 24 kB / 0.8533 GB, free: 14.07 MB / 0.6856 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 (35): * Single equations (assignments): 33 * 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 {(10,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002153/0.6468, allocations: 227.2 kB / 0.8535 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.647, allocations: 107.3 kB / 0.8536 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.6484, allocations: 0.7733 MB / 0.8544 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.6485, allocations: 7.938 kB / 0.8544 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.6485, allocations: 3.938 kB / 0.8544 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.6485, allocations: 3.984 kB / 0.8544 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00265/0.6511, allocations: 1.722 MB / 0.8561 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.6512, allocations: 4 kB / 0.8561 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.6514, allocations: 47.94 kB / 0.8561 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000548/0.652, allocations: 268.5 kB / 0.8564 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.652, allocations: 8 kB / 0.8564 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.6531, allocations: 1.05 MB / 0.8574 GB, free: 9.742 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6531, allocations: 0 / 0.8574 GB, free: 9.742 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.6545, allocations: 0.899 MB / 0.8583 GB, free: 8.805 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/0.6548, allocations: 224.3 kB / 0.8585 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.655, allocations: 11.98 kB / 0.8585 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005863/0.6556, allocations: 39.95 kB / 0.8586 GB, free: 8.516 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.475e-05/0.6557, allocations: 35.89 kB / 0.8586 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.6557, allocations: 8 kB / 0.8586 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001099/0.6568, allocations: 0.8197 MB / 0.8594 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6568, allocations: 0 / 0.8594 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001354/0.6582, allocations: 459.6 kB / 0.8598 GB, free: 7.195 MB / 0.6856 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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 {(10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004385/0.6586, allocations: 183.5 kB / 0.86 GB, free: 7.016 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002649/0.6613, allocations: 1.275 MB / 0.8613 GB, free: 5.711 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6613, allocations: 0 / 0.8613 GB, free: 5.711 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006838/0.662, allocations: 315.8 kB / 0.8616 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/0.6642, allocations: 0.5105 MB / 0.8621 GB, free: 4.918 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.6672, allocations: 1.89 MB / 0.8639 GB, free: 2.973 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007415/0.6679, allocations: 1.185 MB / 0.8651 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008524/0.6688, allocations: 344.1 kB / 0.8654 GB, free: 1.418 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.669, allocations: 59.44 kB / 0.8654 GB, free: 1.359 MB / 0.6856 GB Notification: Performance of SimCode: time 4.11e-07/0.669, allocations: 0 / 0.8654 GB, free: 1.359 MB / 0.6856 GB Notification: Performance of Templates: time 0.356/1.025, allocations: 20.85 MB / 0.8858 GB, free: 186.1 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)