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.001021/0.001021, allocations: 92.86 kB / 15.7 MB, free: 472 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.0009976/0.0009975, allocations: 172.8 kB / 16.58 MB, free: 5.934 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.458/1.458, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6989/0.6989, allocations: 115.5 MB / 407.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003341, allocations: 8 kB / 495.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1375, allocations: 77.54 MB / 0.5593 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.4124/0.55, allocations: 152.4 MB / 0.7081 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003531/0.5535, allocations: 2.07 MB / 0.7102 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004197/0.554, allocations: 11.88 kB / 0.7102 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006033/0.5546, allocations: 163 kB / 0.7103 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.556, allocations: 0.4898 MB / 0.7108 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.5571, allocations: 374.9 kB / 0.7112 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003576/0.5607, allocations: 3.251 MB / 0.7143 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003054/0.5638, allocations: 2.296 MB / 0.7166 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002178/0.566, allocations: 1.051 MB / 0.7176 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.5674, allocations: 0.856 MB / 0.7184 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002302/0.5677, allocations: 48 kB / 0.7185 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.5692, allocations: 0.5925 MB / 0.7191 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004717/0.5697, allocations: 330.8 kB / 0.7194 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005383/0.5703, allocations: 245.1 kB / 0.7196 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.5718, allocations: 1.177 MB / 0.7208 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.5718, allocations: 3.984 kB / 0.7208 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.795e-06/0.5718, allocations: 0 / 0.7208 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.04e-05/0.5719, allocations: 0 / 0.7208 GB, free: 1.922 MB / 0.5294 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.002821/0.5747, allocations: 1.519 MB / 0.7223 GB, free: 348 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.5747, allocations: 8.031 kB / 0.7223 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009301/0.5757, allocations: 194.4 kB / 0.7225 GB, free: 144 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.5775, allocations: 0.8717 MB / 0.7233 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.377e-05/0.5775, allocations: 49.31 kB / 0.7233 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.5777, allocations: 71.89 kB / 0.7234 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.5793, allocations: 0.987 MB / 0.7244 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.5793, allocations: 0 / 0.7244 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-05/0.5794, allocations: 28 kB / 0.7244 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.5794, allocations: 16 kB / 0.7244 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.5808, allocations: 0.8077 MB / 0.7252 GB, free: 13.18 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 preOpt removeSimpleEquations (simulation): time 0.005171/0.586, allocations: 4.812 MB / 0.7299 GB, free: 8.027 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002865/0.5889, allocations: 4.022 MB / 0.7338 GB, free: 3.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000559/0.5895, allocations: 349.2 kB / 0.7342 GB, free: 2.836 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003452/0.5898, allocations: 198.5 kB / 0.7344 GB, free: 2.605 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006267/0.5905, allocations: 321.1 kB / 0.7347 GB, free: 2.273 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004138/0.5909, allocations: 39.69 kB / 0.7347 GB, free: 2.234 MB / 0.545 GB Notification: Performance of pre-optimization done (n=35): time 2.966e-06/0.5909, allocations: 3.938 kB / 0.7347 GB, free: 2.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.004648/0.5956, allocations: 1.497 MB / 0.7362 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.5956, allocations: 81.11 kB / 0.7362 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.5973, allocations: 1.177 MB / 0.7374 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.479e-05/0.5973, allocations: 41.62 kB / 0.7374 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004771/0.5978, allocations: 0.5082 MB / 0.7379 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.5979, allocations: 126.2 kB / 0.7381 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.598, allocations: 4 kB / 0.7381 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5981, allocations: 333.9 kB / 0.7384 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003987/0.5985, allocations: 205 kB / 0.7386 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006387/0.5992, allocations: 0.5371 MB / 0.7391 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000512/0.5997, allocations: 318.4 kB / 0.7394 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.5997, allocations: 0 / 0.7394 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002367/0.6021, allocations: 1.048 MB / 0.7404 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001989/0.6023, allocations: 291.3 kB / 0.7407 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.6023, allocations: 4 kB / 0.7407 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/0.6037, allocations: 388.4 kB / 0.7411 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/0.6043, allocations: 119.8 kB / 0.7412 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.6059, allocations: 1.658 MB / 0.7428 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009477/0.6069, allocations: 103.8 kB / 0.7429 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.063e-05/0.607, allocations: 27.98 kB / 0.7429 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.607, allocations: 4 kB / 0.7429 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001495/0.6085, allocations: 0.7753 MB / 0.7437 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.6085, allocations: 8.125 kB / 0.7437 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005273/0.609, allocations: 222.3 kB / 0.7439 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/0.6094, allocations: 111.8 kB / 0.744 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003725/0.6132, allocations: 2.951 MB / 0.7469 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009094/0.6141, allocations: 99.8 kB / 0.747 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.056e-05/0.6142, allocations: 24 kB / 0.747 GB, free: 5.102 MB / 0.5606 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.0006252/0.6148, allocations: 484.8 kB / 0.7475 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.615, allocations: 106.7 kB / 0.7476 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.6164, allocations: 0.793 MB / 0.7484 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.6165, allocations: 4 kB / 0.7484 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.6165, allocations: 7.953 kB / 0.7484 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.6165, allocations: 3.984 kB / 0.7484 GB, free: 3.691 MB / 0.5606 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.002947/0.6194, allocations: 2.114 MB / 0.7504 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/0.6195, allocations: 4 kB / 0.7504 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.6198, allocations: 100.1 kB / 0.7505 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004257/0.6203, allocations: 196.6 kB / 0.7507 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.6203, allocations: 15.98 kB / 0.7507 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/0.6214, allocations: 1.467 MB / 0.7522 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.218e-05/0.6215, allocations: 4.031 kB / 0.7522 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.6227, allocations: 0.871 MB / 0.753 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003745/0.6231, allocations: 231.9 kB / 0.7533 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.6233, allocations: 8 kB / 0.7533 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006587/0.6239, allocations: 83.69 kB / 0.7533 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.335e-05/0.624, allocations: 31.95 kB / 0.7534 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.6241, allocations: 16 kB / 0.7534 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001106/0.6252, allocations: 0.8248 MB / 0.7542 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6252, allocations: 4 kB / 0.7542 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001396/0.6266, allocations: 0.4993 MB / 0.7547 GB, free: 12.98 MB / 0.5762 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.0004479/0.627, allocations: 191.2 kB / 0.7549 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002717/0.6298, allocations: 1.281 MB / 0.7561 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6298, allocations: 0 / 0.7561 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007281/0.6305, allocations: 321 kB / 0.7564 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003036/0.6336, allocations: 0.6537 MB / 0.7571 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/0.6368, allocations: 2.221 MB / 0.7592 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007749/0.6376, allocations: 1.209 MB / 0.7604 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001083/0.6387, allocations: 364.4 kB / 0.7608 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.6389, allocations: 63.44 kB / 0.7608 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.6389, allocations: 4 kB / 0.7608 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of Templates: time 0.03418/0.673, allocations: 20.64 MB / 0.781 GB, free: 2.184 MB / 0.5919 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)