Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 97.52 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001468, allocations: 174.4 kB / 16.56 MB, free: 6.855 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.306/1.306, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6552/0.6552, allocations: 113.8 MB / 405.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003143, allocations: 8 kB / 493 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1444, allocations: 77.15 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.4226/0.5671, allocations: 140.5 MB / 0.694 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003964/0.5711, allocations: 2.149 MB / 0.6961 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005713/0.5717, allocations: 15.88 kB / 0.6961 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009462/0.5727, allocations: 231 kB / 0.6963 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00257/0.5753, allocations: 0.7021 MB / 0.697 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.5766, allocations: 442.3 kB / 0.6975 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002532/0.5791, allocations: 1.642 MB / 0.6991 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003006/0.5821, allocations: 2.317 MB / 0.7013 GB, free: 6 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.5839, allocations: 0.8566 MB / 0.7022 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009765/0.5848, allocations: 0.5992 MB / 0.7027 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001905/0.585, allocations: 48 kB / 0.7028 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/0.5865, allocations: 0.6279 MB / 0.7034 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003944/0.5869, allocations: 307.1 kB / 0.7037 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004044/0.5873, allocations: 245.1 kB / 0.7039 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.5887, allocations: 1.167 MB / 0.7051 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.5887, allocations: 4 kB / 0.7051 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5887, allocations: 0 / 0.7051 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.052e-05/0.5887, allocations: 0 / 0.7051 GB, free: 2.148 MB / 0.5137 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.002742/0.5915, allocations: 1.517 MB / 0.7066 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.5915, allocations: 8.031 kB / 0.7066 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008474/0.5924, allocations: 202.4 kB / 0.7068 GB, free: 376 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.5941, allocations: 0.86 MB / 0.7076 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.931e-05/0.5942, allocations: 49.31 kB / 0.7076 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.5943, allocations: 67.89 kB / 0.7077 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.5958, allocations: 0.9937 MB / 0.7087 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.5958, allocations: 3.938 kB / 0.7087 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-05/0.5959, allocations: 28 kB / 0.7087 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.5959, allocations: 20 kB / 0.7087 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.5972, allocations: 0.8037 MB / 0.7095 GB, free: 13.42 MB / 0.5294 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.00481/0.6021, allocations: 4.82 MB / 0.7142 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/0.6045, allocations: 4.026 MB / 0.7181 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.288e-05/0.6045, allocations: 12.28 kB / 0.7182 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005055/0.605, allocations: 334.2 kB / 0.7185 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002775/0.6053, allocations: 27.69 kB / 0.7185 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 1.923e-06/0.6053, allocations: 0 / 0.7185 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.004365/0.6097, allocations: 1.5 MB / 0.72 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.6098, allocations: 106.8 kB / 0.7201 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.6112, allocations: 1.177 MB / 0.7212 GB, free: 168 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/0.6112, allocations: 33.7 kB / 0.7213 GB, free: 128 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004121/0.6117, allocations: 0.516 MB / 0.7218 GB, free: 15.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.674e-05/0.6118, allocations: 126.2 kB / 0.7219 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.6118, allocations: 12 kB / 0.7219 GB, free: 15.47 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.6119, allocations: 333.8 kB / 0.7222 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.6123, allocations: 213 kB / 0.7224 GB, free: 14.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005862/0.6129, allocations: 0.5327 MB / 0.7229 GB, free: 14.26 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004803/0.6134, allocations: 317.4 kB / 0.7232 GB, free: 13.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.6134, allocations: 0 / 0.7232 GB, free: 13.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002225/0.6156, allocations: 1.029 MB / 0.7242 GB, free: 12.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008689/0.6165, allocations: 2.146 MB / 0.7263 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.6165, allocations: 11.95 kB / 0.7263 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.618, allocations: 374.6 kB / 0.7267 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005165/0.6185, allocations: 135.8 kB / 0.7268 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/0.6202, allocations: 1.665 MB / 0.7285 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009104/0.6212, allocations: 107.8 kB / 0.7286 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/0.6212, allocations: 24 kB / 0.7286 GB, free: 8.238 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.697e-06/0.6212, allocations: 4 kB / 0.7286 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00143/0.6227, allocations: 0.7826 MB / 0.7293 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.6227, allocations: 4 kB / 0.7294 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005148/0.6232, allocations: 230.7 kB / 0.7296 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.6236, allocations: 103.9 kB / 0.7297 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003639/0.6273, allocations: 2.998 MB / 0.7326 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009575/0.6283, allocations: 103.7 kB / 0.7327 GB, free: 3.875 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.6283, allocations: 28 kB / 0.7327 GB, free: 3.848 MB / 0.545 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 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005509/0.6289, allocations: 480.6 kB / 0.7332 GB, free: 3.367 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.629, allocations: 106.7 kB / 0.7333 GB, free: 3.262 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.6304, allocations: 0.767 MB / 0.734 GB, free: 2.484 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.6304, allocations: 4 kB / 0.734 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.6304, allocations: 4 kB / 0.734 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/0.6304, allocations: 3.953 kB / 0.734 GB, free: 2.473 MB / 0.545 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 postOpt removeSimpleEquations (simulation): time 0.002863/0.6333, allocations: 2.203 MB / 0.7362 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.6333, allocations: 4.219 kB / 0.7362 GB, free: 128 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003761/0.6337, allocations: 91.91 kB / 0.7363 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004189/0.6341, allocations: 196.6 kB / 0.7365 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.6342, allocations: 8 kB / 0.7365 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.6354, allocations: 1.468 MB / 0.7379 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6354, allocations: 4.094 kB / 0.7379 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.6367, allocations: 0.9486 MB / 0.7388 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004822/0.6372, allocations: 239.6 kB / 0.7391 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.6374, allocations: 8 kB / 0.7391 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007031/0.6381, allocations: 79.84 kB / 0.7392 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.6382, allocations: 31.92 kB / 0.7392 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.6382, allocations: 15.98 kB / 0.7392 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00107/0.6393, allocations: 0.8248 MB / 0.74 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6393, allocations: 0 / 0.74 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001401/0.6407, allocations: 0.511 MB / 0.7405 GB, free: 11.56 MB / 0.5606 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005138/0.6412, allocations: 189.1 kB / 0.7407 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002792/0.644, allocations: 1.291 MB / 0.742 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.6441, allocations: 0 / 0.742 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007346/0.6448, allocations: 316.2 kB / 0.7423 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003171/0.648, allocations: 0.65 MB / 0.7429 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.6511, allocations: 2.215 MB / 0.7451 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007292/0.6519, allocations: 1.232 MB / 0.7463 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009907/0.6529, allocations: 356.4 kB / 0.7466 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.653, allocations: 71.42 kB / 0.7467 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.6531, allocations: 3.938 kB / 0.7467 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of Templates: time 0.03111/0.6842, allocations: 20.63 MB / 0.7668 GB, free: 0.75 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)