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.0008396/0.0008399, allocations: 92.95 kB / 16.02 MB, free: 84 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.0008853/0.0008852, allocations: 184.1 kB / 16.92 MB, free: 6.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.347/1.347, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6806/0.6806, allocations: 115.5 MB / 407.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003233, allocations: 8 kB / 495.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1432, allocations: 77.53 MB / 0.56 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.4216/0.5648, allocations: 163.3 MB / 0.7195 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003505/0.5683, allocations: 2.193 MB / 0.7216 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002662/0.5686, allocations: 15.88 kB / 0.7216 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006188/0.5692, allocations: 202.9 kB / 0.7218 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.5707, allocations: 0.6342 MB / 0.7224 GB, free: 436 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.5718, allocations: 396.9 kB / 0.7228 GB, free: 44 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003622/0.5754, allocations: 3.786 MB / 0.7265 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002807/0.5782, allocations: 2.36 MB / 0.7288 GB, free: 9.875 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002071/0.5803, allocations: 1.117 MB / 0.7299 GB, free: 8.754 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.5814, allocations: 0.8713 MB / 0.7308 GB, free: 7.879 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.989e-05/0.5815, allocations: 44 kB / 0.7308 GB, free: 7.836 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.583, allocations: 0.8964 MB / 0.7317 GB, free: 6.938 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003465/0.5834, allocations: 334.7 kB / 0.732 GB, free: 6.609 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006546/0.5841, allocations: 0.5962 MB / 0.7326 GB, free: 6.004 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001809/0.5859, allocations: 1.592 MB / 0.7341 GB, free: 4.406 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.5859, allocations: 3.938 kB / 0.7341 GB, free: 4.402 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5859, allocations: 0 / 0.7341 GB, free: 4.402 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.046e-05/0.5859, allocations: 0 / 0.7341 GB, free: 4.402 MB / 0.545 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.002486/0.5884, allocations: 1.47 MB / 0.7356 GB, free: 2.875 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.5885, allocations: 12.03 kB / 0.7356 GB, free: 2.863 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007886/0.5893, allocations: 194.4 kB / 0.7358 GB, free: 2.672 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.5905, allocations: 0.8695 MB / 0.7366 GB, free: 1.746 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/0.5906, allocations: 45.31 kB / 0.7367 GB, free: 1.703 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.5907, allocations: 71.94 kB / 0.7367 GB, free: 1.633 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.5922, allocations: 1.003 MB / 0.7377 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.5922, allocations: 4 kB / 0.7377 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.35e-05/0.5923, allocations: 20 kB / 0.7377 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.5923, allocations: 16 kB / 0.7377 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.5937, allocations: 0.8077 MB / 0.7385 GB, free: 15.71 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 preOpt removeSimpleEquations (simulation): time 0.004989/0.5987, allocations: 4.82 MB / 0.7432 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/0.6013, allocations: 4.011 MB / 0.7472 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005338/0.6019, allocations: 349.2 kB / 0.7475 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003023/0.6022, allocations: 198.5 kB / 0.7477 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005435/0.6027, allocations: 329.1 kB / 0.748 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003589/0.6031, allocations: 27.69 kB / 0.748 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 1.713e-06/0.6031, allocations: 0 / 0.748 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.004664/0.6078, allocations: 1.509 MB / 0.7495 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.6079, allocations: 85.09 kB / 0.7496 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.6093, allocations: 1.184 MB / 0.7507 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.758e-05/0.6094, allocations: 41.7 kB / 0.7508 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004396/0.6099, allocations: 0.5237 MB / 0.7513 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.61, allocations: 126.2 kB / 0.7514 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.61, allocations: 41.7 kB / 0.7514 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.6102, allocations: 330 kB / 0.7518 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/0.6106, allocations: 232.9 kB / 0.752 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006417/0.6112, allocations: 0.5606 MB / 0.7525 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009728/0.6122, allocations: 0.695 MB / 0.7532 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.6122, allocations: 4 kB / 0.7532 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002428/0.6146, allocations: 1.115 MB / 0.7543 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001842/0.6148, allocations: 279.5 kB / 0.7546 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.6149, allocations: 8 kB / 0.7546 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.6163, allocations: 406.3 kB / 0.755 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005537/0.6169, allocations: 119.8 kB / 0.7551 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/0.6186, allocations: 1.661 MB / 0.7567 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.6196, allocations: 88 kB / 0.7568 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.376e-05/0.6197, allocations: 27.98 kB / 0.7568 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.664e-06/0.6197, allocations: 4 kB / 0.7568 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001486/0.6212, allocations: 0.7865 MB / 0.7576 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.6213, allocations: 8 kB / 0.7576 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000529/0.6218, allocations: 211.2 kB / 0.7578 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/0.6222, allocations: 111.7 kB / 0.7579 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003731/0.626, allocations: 2.921 MB / 0.7608 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009902/0.627, allocations: 92 kB / 0.7608 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/0.627, allocations: 20 kB / 0.7609 GB, free: 7.02 MB / 0.5762 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): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0007007/0.6277, allocations: 484.7 kB / 0.7613 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.6279, allocations: 106.7 kB / 0.7614 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.6293, allocations: 0.7932 MB / 0.7622 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.6294, allocations: 4 kB / 0.7622 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.6294, allocations: 0 / 0.7622 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.6294, allocations: 3.938 kB / 0.7622 GB, free: 5.617 MB / 0.5762 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.002859/0.6322, allocations: 2.121 MB / 0.7643 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.6323, allocations: 7.984 kB / 0.7643 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/0.6326, allocations: 92.08 kB / 0.7644 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004175/0.6331, allocations: 204 kB / 0.7646 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.6331, allocations: 8 kB / 0.7646 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.6343, allocations: 1.478 MB / 0.766 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.6343, allocations: 192 / 0.766 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.6355, allocations: 0.8632 MB / 0.7669 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003593/0.6359, allocations: 231.7 kB / 0.7671 GB, free: 384 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.636, allocations: 15.94 kB / 0.7671 GB, free: 368 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006565/0.6367, allocations: 75.77 kB / 0.7672 GB, free: 292 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/0.6368, allocations: 35.89 kB / 0.7672 GB, free: 256 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.6368, allocations: 12 kB / 0.7672 GB, free: 244 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001049/0.6379, allocations: 0.8327 MB / 0.768 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6379, allocations: 0 / 0.768 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001373/0.6392, allocations: 0.4992 MB / 0.7685 GB, free: 14.9 MB / 0.5919 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(9,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004923/0.6397, allocations: 189.6 kB / 0.7687 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002824/0.6426, allocations: 1.297 MB / 0.77 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6426, allocations: 0 / 0.77 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007567/0.6434, allocations: 325.1 kB / 0.7703 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003708/0.6471, allocations: 0.6398 MB / 0.7709 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.6502, allocations: 2.308 MB / 0.7731 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007531/0.651, allocations: 1.213 MB / 0.7743 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001048/0.6521, allocations: 384.6 kB / 0.7747 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.6522, allocations: 63.44 kB / 0.7748 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of SimCode: time 8.31e-07/0.6522, allocations: 0 / 0.7748 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of Templates: time 0.03548/0.6877, allocations: 21.2 MB / 0.7955 GB, free: 3.441 MB / 0.6075 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)