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.001138/0.001138, allocations: 106.8 kB / 16.41 MB, free: 6.496 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.001055/0.001055, allocations: 191 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8048/0.8048, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 62.94 kB / 0.582 GB, free: 23.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1539, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.5679/0.7218, allocations: 161.6 MB / 0.8182 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003036/0.7249, allocations: 1.746 MB / 0.8199 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004034/0.7253, allocations: 15.25 kB / 0.8199 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006075/0.7259, allocations: 174 kB / 0.82 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.7273, allocations: 0.5162 MB / 0.8206 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.7285, allocations: 397.5 kB / 0.8209 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002401/0.7309, allocations: 2.547 MB / 0.8234 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002593/0.7335, allocations: 2.404 MB / 0.8258 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.7353, allocations: 1.048 MB / 0.8268 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008863/0.7362, allocations: 0.7206 MB / 0.8275 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.718e-05/0.7363, allocations: 57.72 kB / 0.8275 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.7377, allocations: 0.7414 MB / 0.8283 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002956/0.738, allocations: 313 kB / 0.8286 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006197/0.7387, allocations: 0.5492 MB / 0.8291 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.7403, allocations: 1.422 MB / 0.8305 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.7403, allocations: 4 kB / 0.8305 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7403, allocations: 0 / 0.8305 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.485e-05/0.7403, allocations: 0 / 0.8305 GB, free: 2.434 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002226/0.7425, allocations: 1.448 MB / 0.8319 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.7426, allocations: 9.969 kB / 0.8319 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007931/0.7434, allocations: 186.6 kB / 0.8321 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.7446, allocations: 0.8547 MB / 0.8329 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.053e-05/0.7447, allocations: 49.75 kB / 0.833 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.288e-05/0.7448, allocations: 67.23 kB / 0.833 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.7459, allocations: 0.8173 MB / 0.8338 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.746, allocations: 0 / 0.8338 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.406e-05/0.746, allocations: 31.34 kB / 0.8339 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.746, allocations: 13.59 kB / 0.8339 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008702/0.7469, allocations: 0.5647 MB / 0.8344 GB, free: 15.68 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.003844/0.7508, allocations: 4.203 MB / 0.8385 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006843/0.7515, allocations: 437.4 kB / 0.839 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004536/0.7519, allocations: 349.2 kB / 0.8393 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003062/0.7523, allocations: 191.1 kB / 0.8395 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004916/0.7528, allocations: 314.7 kB / 0.8398 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003079/0.7531, allocations: 36.62 kB / 0.8398 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 2.404e-06/0.7531, allocations: 0 / 0.8398 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.004808/0.7579, allocations: 1.567 MB / 0.8413 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.758, allocations: 86.05 kB / 0.8414 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.7594, allocations: 1.151 MB / 0.8425 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.982e-05/0.7595, allocations: 38.52 kB / 0.8426 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004341/0.76, allocations: 480.9 kB / 0.843 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.829e-05/0.7601, allocations: 115.5 kB / 0.8432 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.7602, allocations: 118.8 kB / 0.8433 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.7603, allocations: 325.8 kB / 0.8436 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003837/0.7607, allocations: 238.7 kB / 0.8438 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005712/0.7613, allocations: 0.5361 MB / 0.8443 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008788/0.7622, allocations: 0.6775 MB / 0.845 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.7622, allocations: 0 / 0.845 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00248/0.7647, allocations: 1.108 MB / 0.8461 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/0.7648, allocations: 39.33 kB / 0.8461 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.7648, allocations: 8.688 kB / 0.8461 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001496/0.7663, allocations: 427.8 kB / 0.8465 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.7667, allocations: 87.8 kB / 0.8466 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.7681, allocations: 1.102 MB / 0.8477 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009865/0.7691, allocations: 60.09 kB / 0.8477 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.097e-05/0.7692, allocations: 28 kB / 0.8478 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008323/0.77, allocations: 0.5211 MB / 0.8483 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005619/0.7706, allocations: 0.4993 MB / 0.8488 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008095/0.7714, allocations: 0.5958 MB / 0.8493 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.22e-06/0.7715, allocations: 0 / 0.8493 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001791/0.7733, allocations: 0.8962 MB / 0.8502 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.7733, allocations: 33.7 kB / 0.8503 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.7733, allocations: 4 kB / 0.8503 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005508/0.7739, allocations: 237.2 kB / 0.8505 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.7742, allocations: 91.81 kB / 0.8506 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004021/0.7783, allocations: 3.301 MB / 0.8538 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009689/0.7792, allocations: 72.31 kB / 0.8539 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/0.7793, allocations: 27.98 kB / 0.8539 GB, free: 14.56 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 (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.0002245/0.7796, allocations: 212.1 kB / 0.8541 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/0.7798, allocations: 98.78 kB / 0.8542 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.7813, allocations: 0.7773 MB / 0.8549 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.7813, allocations: 4 kB / 0.8549 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.7813, allocations: 3.938 kB / 0.855 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.7813, allocations: 7.984 kB / 0.855 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/0.7841, allocations: 1.721 MB / 0.8566 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.7841, allocations: 0 / 0.8566 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.7843, allocations: 52.11 kB / 0.8567 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005289/0.7849, allocations: 276.8 kB / 0.857 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.7849, allocations: 8 kB / 0.857 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.7859, allocations: 1.036 MB / 0.858 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.786, allocations: 11.88 kB / 0.858 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.7873, allocations: 0.8933 MB / 0.8589 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004388/0.7878, allocations: 223.8 kB / 0.8591 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/0.788, allocations: 8 kB / 0.8591 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005611/0.7886, allocations: 31.95 kB / 0.8591 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/0.7886, allocations: 27.95 kB / 0.8591 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.7887, allocations: 19.94 kB / 0.8592 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001158/0.7898, allocations: 0.8158 MB / 0.86 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7898, allocations: 0 / 0.86 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001429/0.7913, allocations: 463.6 kB / 0.8604 GB, free: 7.707 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_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.0004867/0.7918, allocations: 181.1 kB / 0.8606 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002653/0.7944, allocations: 1.267 MB / 0.8618 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.7945, allocations: 0 / 0.8618 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006263/0.7951, allocations: 312 kB / 0.8621 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002349/0.7975, allocations: 494.7 kB / 0.8626 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/0.8008, allocations: 1.932 MB / 0.8645 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000767/0.8016, allocations: 1.181 MB / 0.8656 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.8019, allocations: 67.44 kB / 0.8657 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of SimCode: time 1.413e-06/0.8019, allocations: 0 / 0.8657 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of Templates: time 0.02987/0.8317, allocations: 21.44 MB / 0.8866 GB, free: 12.88 MB / 0.6544 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)