Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 88.86 kB / 16.67 MB, free: 6.59 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.001166/0.001166, allocations: 182.1 kB / 17.58 MB, free: 6.188 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.377/1.377, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7245/0.7245, allocations: 115.5 MB / 408.2 MB, free: 7.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003371, allocations: 12 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4189, allocations: 77.52 MB / 0.5606 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1782/0.5972, allocations: 157.3 MB / 0.7142 GB, free: 5.637 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003136/0.6003, allocations: 1.76 MB / 0.7159 GB, free: 3.875 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003246/0.6007, allocations: 11.94 kB / 0.7159 GB, free: 3.863 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005354/0.6012, allocations: 143.1 kB / 0.716 GB, free: 3.723 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.6025, allocations: 498 kB / 0.7165 GB, free: 3.234 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.6036, allocations: 353.9 kB / 0.7169 GB, free: 2.895 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003213/0.6068, allocations: 3.495 MB / 0.7203 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002632/0.6095, allocations: 2.218 MB / 0.7224 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001861/0.6113, allocations: 0.8869 MB / 0.7233 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009927/0.6123, allocations: 0.7194 MB / 0.724 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.368e-05/0.6124, allocations: 32 kB / 0.724 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.614, allocations: 0.8028 MB / 0.7248 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002975/0.6143, allocations: 282.9 kB / 0.7251 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006407/0.6149, allocations: 0.5262 MB / 0.7256 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.6161, allocations: 1.025 MB / 0.7266 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.6161, allocations: 4 kB / 0.7266 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6161, allocations: 4 kB / 0.7266 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.6161, allocations: 0 / 0.7266 GB, free: 8.855 MB / 0.5606 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.002067/0.6182, allocations: 1.288 MB / 0.7279 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.6182, allocations: 8.031 kB / 0.7279 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007329/0.619, allocations: 190.5 kB / 0.7281 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.6201, allocations: 0.806 MB / 0.7288 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-05/0.6202, allocations: 49 kB / 0.7289 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.82e-05/0.6203, allocations: 64 kB / 0.729 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.6214, allocations: 0.8277 MB / 0.7298 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.6215, allocations: 7.938 kB / 0.7298 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.428e-05/0.6215, allocations: 20 kB / 0.7298 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.6215, allocations: 16 kB / 0.7298 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000916/0.6225, allocations: 0.5735 MB / 0.7304 GB, free: 4.812 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.003836/0.6263, allocations: 4.258 MB / 0.7345 GB, free: 296 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007768/0.6271, allocations: 453 kB / 0.735 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/0.6276, allocations: 347 kB / 0.7353 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003122/0.6279, allocations: 198.2 kB / 0.7355 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005187/0.6284, allocations: 319.1 kB / 0.7358 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002732/0.6287, allocations: 31.8 kB / 0.7358 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/0.6287, allocations: 3.938 kB / 0.7358 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.004943/0.6337, allocations: 1.703 MB / 0.7375 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.6338, allocations: 85.09 kB / 0.7376 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.6352, allocations: 1.143 MB / 0.7387 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.519e-05/0.6352, allocations: 41.64 kB / 0.7387 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004039/0.6357, allocations: 492.4 kB / 0.7392 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.6358, allocations: 110.4 kB / 0.7393 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.011e-05/0.6359, allocations: 49.69 kB / 0.7393 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.636, allocations: 326 kB / 0.7396 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004/0.6364, allocations: 228.9 kB / 0.7399 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006398/0.637, allocations: 0.5526 MB / 0.7404 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009127/0.638, allocations: 0.6866 MB / 0.7411 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.638, allocations: 4 kB / 0.7411 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002223/0.6402, allocations: 1.123 MB / 0.7422 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001747/0.6404, allocations: 270.9 kB / 0.7424 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.6404, allocations: 12 kB / 0.7424 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.6417, allocations: 368.4 kB / 0.7428 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/0.6421, allocations: 99.8 kB / 0.7429 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.6431, allocations: 1.052 MB / 0.7439 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009441/0.6441, allocations: 75.92 kB / 0.744 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.569e-05/0.6441, allocations: 27.98 kB / 0.744 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.6441, allocations: 4 kB / 0.744 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001419/0.6456, allocations: 0.7864 MB / 0.7448 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.6456, allocations: 4 kB / 0.7448 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005699/0.6462, allocations: 246.5 kB / 0.745 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.6465, allocations: 95.88 kB / 0.7451 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/0.65, allocations: 3.034 MB / 0.7481 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009617/0.651, allocations: 79.89 kB / 0.7482 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.6511, allocations: 24 kB / 0.7482 GB, free: 1.664 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 (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 {(1,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0005769/0.6517, allocations: 464.7 kB / 0.7486 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.6518, allocations: 102.8 kB / 0.7487 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.6532, allocations: 0.7889 MB / 0.7495 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.6532, allocations: 0 / 0.7495 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.6532, allocations: 8 kB / 0.7495 GB, free: 300 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.6532, allocations: 3.984 kB / 0.7495 GB, free: 296 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.307/0.9602, allocations: 1.725 MB / 0.7512 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.9603, allocations: 5.656 kB / 0.7512 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003106/0.9606, allocations: 64.98 kB / 0.7513 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006196/0.9613, allocations: 252.8 kB / 0.7515 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/0.9613, allocations: 8.719 kB / 0.7515 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009663/0.9623, allocations: 1.006 MB / 0.7525 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/0.9623, allocations: 7.234 kB / 0.7525 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.9639, allocations: 0.9039 MB / 0.7534 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004239/0.9644, allocations: 223.6 kB / 0.7536 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.9645, allocations: 10.55 kB / 0.7536 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000623/0.9651, allocations: 55.08 kB / 0.7537 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.9652, allocations: 36.69 kB / 0.7537 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.9653, allocations: 9.25 kB / 0.7537 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00124/0.9665, allocations: 0.8174 MB / 0.7545 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9665, allocations: 0 / 0.7545 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001668/0.9682, allocations: 471 kB / 0.7549 GB, free: 171.3 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 (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 {(1,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004591/0.9687, allocations: 179.5 kB / 0.7551 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002262/0.9709, allocations: 1.148 MB / 0.7562 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.971, allocations: 1.469 kB / 0.7562 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005588/0.9715, allocations: 251.2 kB / 0.7565 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003762/0.9753, allocations: 0.6243 MB / 0.7571 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/0.9785, allocations: 2.125 MB / 0.7592 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007663/0.9793, allocations: 1.19 MB / 0.7603 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.9796, allocations: 63.97 kB / 0.7604 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of SimCode: time 7.72e-07/0.9796, allocations: 0 / 0.7604 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.03871/1.018, allocations: 21.33 MB / 0.7812 GB, free: 161.1 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)