Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009/0.0009001, allocations: 91.09 kB / 16.67 MB, free: 6.598 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.0008696/0.0008695, allocations: 180.2 kB / 17.57 MB, free: 6.184 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.502/1.502, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7049/0.7049, allocations: 115.5 MB / 408.2 MB, free: 7.059 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003922, allocations: 12.28 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4154, allocations: 77.52 MB / 0.5606 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.1797/0.5952, allocations: 163.4 MB / 0.7201 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003961/0.5992, allocations: 2.204 MB / 0.7223 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005665/0.5998, allocations: 15.88 kB / 0.7223 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008155/0.6006, allocations: 198.9 kB / 0.7225 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001871/0.6025, allocations: 0.6264 MB / 0.7231 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.6037, allocations: 398.7 kB / 0.7235 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003712/0.6075, allocations: 3.802 MB / 0.7272 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002895/0.6104, allocations: 2.348 MB / 0.7295 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002494/0.6129, allocations: 1.117 MB / 0.7306 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.6141, allocations: 0.8714 MB / 0.7314 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.6142, allocations: 48 kB / 0.7315 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.6159, allocations: 0.8963 MB / 0.7323 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003233/0.6162, allocations: 326.8 kB / 0.7326 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007176/0.617, allocations: 0.6001 MB / 0.7332 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.6181, allocations: 1.161 MB / 0.7344 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6181, allocations: 0 / 0.7344 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.737e-06/0.6182, allocations: 0 / 0.7344 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.6182, allocations: 7.938 kB / 0.7344 GB, free: 0.8672 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002412/0.6206, allocations: 1.475 MB / 0.7358 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.6207, allocations: 8.031 kB / 0.7358 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007815/0.6214, allocations: 194.4 kB / 0.736 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.6227, allocations: 0.8851 MB / 0.7369 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.738e-05/0.6228, allocations: 45.31 kB / 0.7369 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.6229, allocations: 67.94 kB / 0.737 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.6243, allocations: 0.9909 MB / 0.7379 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.6244, allocations: 11.92 kB / 0.738 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.861e-05/0.6245, allocations: 24 kB / 0.738 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.6245, allocations: 15.94 kB / 0.738 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.6258, allocations: 0.8078 MB / 0.7388 GB, free: 12.16 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 preOpt removeSimpleEquations (simulation): time 0.004846/0.6306, allocations: 4.804 MB / 0.7435 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/0.6333, allocations: 4.017 MB / 0.7474 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005251/0.6338, allocations: 353.2 kB / 0.7477 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003138/0.6342, allocations: 202.4 kB / 0.7479 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005767/0.6347, allocations: 322.3 kB / 0.7482 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000401/0.6352, allocations: 31.69 kB / 0.7483 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.334e-06/0.6352, allocations: 0 / 0.7483 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.39/1.025, allocations: 1.608 MB / 0.7498 GB, free: 26.24 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/1.025, allocations: 82.19 kB / 0.7499 GB, free: 26.14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/1.027, allocations: 1.177 MB / 0.7511 GB, free: 26 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.942e-05/1.028, allocations: 42.39 kB / 0.7511 GB, free: 25.97 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004454/1.028, allocations: 0.5128 MB / 0.7516 GB, free: 25.89 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/1.028, allocations: 122.6 kB / 0.7517 GB, free: 25.89 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-05/1.028, allocations: 46.39 kB / 0.7518 GB, free: 25.87 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.2e-05/1.028, allocations: 328.7 kB / 0.7521 GB, free: 25.56 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004611/1.029, allocations: 236.7 kB / 0.7523 GB, free: 25.56 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006946/1.029, allocations: 0.5665 MB / 0.7529 GB, free: 25.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/1.03, allocations: 0.6896 MB / 0.7535 GB, free: 24.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.031, allocations: 1.875 kB / 0.7535 GB, free: 24.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002672/1.033, allocations: 1.111 MB / 0.7546 GB, free: 24.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001601/1.033, allocations: 279.2 kB / 0.7549 GB, free: 24.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/1.033, allocations: 6.359 kB / 0.7549 GB, free: 24.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/1.035, allocations: 359.3 kB / 0.7552 GB, free: 24.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004475/1.035, allocations: 103.9 kB / 0.7553 GB, free: 24.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/1.036, allocations: 1.004 MB / 0.7563 GB, free: 23.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/1.037, allocations: 96.56 kB / 0.7564 GB, free: 23.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-05/1.038, allocations: 33.73 kB / 0.7564 GB, free: 23.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/1.038, allocations: 4 kB / 0.7564 GB, free: 23.93 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001573/1.039, allocations: 0.7793 MB / 0.7572 GB, free: 23.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/1.039, allocations: 4.906 kB / 0.7572 GB, free: 23.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005808/1.04, allocations: 221.1 kB / 0.7574 GB, free: 23.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/1.04, allocations: 108 kB / 0.7575 GB, free: 23.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003482/1.044, allocations: 2.92 MB / 0.7604 GB, free: 22.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/1.045, allocations: 91.89 kB / 0.7605 GB, free: 22.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.997e-05/1.045, allocations: 27.48 kB / 0.7605 GB, free: 22.47 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): 36 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0006884/1.046, allocations: 476.9 kB / 0.7609 GB, free: 22.28 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/1.046, allocations: 111.4 kB / 0.761 GB, free: 22.22 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/1.047, allocations: 0.7947 MB / 0.7618 GB, free: 22.11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/1.047, allocations: 4.281 kB / 0.7618 GB, free: 22.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.047, allocations: 1.484 kB / 0.7618 GB, free: 22.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/1.047, allocations: 2.188 kB / 0.7618 GB, free: 22.11 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.003094/1.05, allocations: 2.124 MB / 0.7639 GB, free: 21.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.05, allocations: 2.719 kB / 0.7639 GB, free: 21.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/1.051, allocations: 85.41 kB / 0.764 GB, free: 21.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004163/1.051, allocations: 177.7 kB / 0.7642 GB, free: 21.29 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/1.051, allocations: 9.281 kB / 0.7642 GB, free: 21.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006639/1.052, allocations: 0.8616 MB / 0.765 GB, free: 20.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.052, allocations: 9.844 kB / 0.765 GB, free: 20.76 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/1.053, allocations: 0.8506 MB / 0.7658 GB, free: 20.47 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003574/1.054, allocations: 232.6 kB / 0.7661 GB, free: 20.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/1.054, allocations: 13.64 kB / 0.7661 GB, free: 20.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006442/1.054, allocations: 72.42 kB / 0.7661 GB, free: 20.31 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.938e-05/1.054, allocations: 30.05 kB / 0.7662 GB, free: 20.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/1.054, allocations: 20.58 kB / 0.7662 GB, free: 20.31 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001171/1.056, allocations: 0.8309 MB / 0.767 GB, free: 20.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/1.056, allocations: 0 / 0.767 GB, free: 20.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001527/1.057, allocations: 0.4979 MB / 0.7675 GB, free: 20.16 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): 22 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004856/1.058, allocations: 205.6 kB / 0.7677 GB, free: 20.06 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00222/1.06, allocations: 1.158 MB / 0.7688 GB, free: 19.79 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.06, allocations: 0 / 0.7688 GB, free: 19.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004624/1.06, allocations: 241.6 kB / 0.7691 GB, free: 19.78 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003655/1.064, allocations: 0.6435 MB / 0.7697 GB, free: 19.74 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/1.067, allocations: 2.255 MB / 0.7719 GB, free: 18.67 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007338/1.068, allocations: 1.216 MB / 0.7731 GB, free: 17.95 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/1.068, allocations: 72.27 kB / 0.7731 GB, free: 17.95 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/1.068, allocations: 0 / 0.7731 GB, free: 17.95 MB / 0.5762 GB Notification: Performance of Templates: time 0.03358/1.102, allocations: 22.46 MB / 0.7951 GB, free: 10.5 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)