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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001654, allocations: 179.4 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.467/0.467, allocations: 90.8 MB / 104.5 MB, free: 9.805 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 221.3 MB / 348.3 MB, free: 464 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 95.78 kB / 421.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.233e-05, allocations: 4 kB / 0.4896 GB, free: 5.359 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4632/0.4633, allocations: 72.3 MB / 0.5602 GB, free: 40.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.404/4.868, allocations: 1.823 GB / 2.383 GB, free: 205.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/4.868, allocations: 87.95 kB / 2.383 GB, free: 205.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.005/11.87, allocations: 1.996 GB / 4.379 GB, free: 27.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/11.87, allocations: 0 / 4.379 GB, free: 27.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002221/11.87, allocations: 35.98 kB / 4.379 GB, free: 27.92 MB / 0.6042 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.00501/11.88, allocations: 1.276 MB / 4.38 GB, free: 26.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/11.88, allocations: 15.98 kB / 4.38 GB, free: 26.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/11.88, allocations: 202.3 kB / 4.381 GB, free: 26.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00447/11.88, allocations: 1.429 MB / 4.382 GB, free: 24.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.05e-05/11.88, allocations: 49.31 kB / 4.382 GB, free: 24.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002391/11.88, allocations: 63.98 kB / 4.382 GB, free: 24.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/11.89, allocations: 0.9293 MB / 4.383 GB, free: 23.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/11.89, allocations: 0 / 4.383 GB, free: 23.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.806e-05/11.89, allocations: 24 kB / 4.383 GB, free: 23.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/11.89, allocations: 15.95 kB / 4.383 GB, free: 23.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009857/11.89, allocations: 0.7064 MB / 4.384 GB, free: 23.02 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.004601/11.89, allocations: 4.729 MB / 4.388 GB, free: 17.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/11.89, allocations: 4.023 MB / 4.392 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/11.89, allocations: 324.7 kB / 4.393 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002858/11.89, allocations: 202.8 kB / 4.393 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003708/11.89, allocations: 297.9 kB / 4.393 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000519/11.89, allocations: 31.69 kB / 4.393 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 3.837e-06/11.89, allocations: 0 / 4.393 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.001457/11.9, allocations: 0.7269 MB / 4.394 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/11.9, allocations: 85.11 kB / 4.394 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/11.9, allocations: 1.035 MB / 4.395 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.895e-05/11.9, allocations: 37.7 kB / 4.395 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003429/11.9, allocations: 0.5166 MB / 4.396 GB, free: 9.762 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.487e-05/11.9, allocations: 126.2 kB / 4.396 GB, free: 9.637 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/11.9, allocations: 12 kB / 4.396 GB, free: 9.625 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.796e-05/11.9, allocations: 326 kB / 4.396 GB, free: 9.301 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/11.9, allocations: 185 kB / 4.396 GB, free: 9.117 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004571/11.9, allocations: 0.5326 MB / 4.397 GB, free: 8.438 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/11.9, allocations: 307.3 kB / 4.397 GB, free: 8.133 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/11.9, allocations: 0 / 4.397 GB, free: 8.133 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001342/11.9, allocations: 0.9393 MB / 4.398 GB, free: 7.176 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005308/11.9, allocations: 2.222 MB / 4.4 GB, free: 4.789 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/11.9, allocations: 8 kB / 4.4 GB, free: 4.781 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005068/11.9, allocations: 232.6 kB / 4.4 GB, free: 4.551 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/11.9, allocations: 87.77 kB / 4.4 GB, free: 4.465 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008285/11.9, allocations: 0.9934 MB / 4.401 GB, free: 3.449 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/11.9, allocations: 107.8 kB / 4.401 GB, free: 3.344 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.567e-05/11.9, allocations: 31.92 kB / 4.401 GB, free: 3.312 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/11.9, allocations: 4 kB / 4.401 GB, free: 3.309 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001114/11.91, allocations: 0.7318 MB / 4.402 GB, free: 2.566 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/11.91, allocations: 8 kB / 4.402 GB, free: 2.559 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000502/11.91, allocations: 221.3 kB / 4.402 GB, free: 2.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/11.91, allocations: 87.78 kB / 4.402 GB, free: 2.254 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4934/12.4, allocations: 2.865 MB / 4.405 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/12.4, allocations: 105.1 kB / 4.405 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.213e-05/12.4, allocations: 25.27 kB / 4.405 GB, free: 139.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002201/12.4, allocations: 141.8 kB / 4.406 GB, free: 139.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/12.4, allocations: 111.3 kB / 4.406 GB, free: 139.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/12.4, allocations: 0.75 MB / 4.406 GB, free: 139.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/12.4, allocations: 4.156 kB / 4.406 GB, free: 139.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/12.4, allocations: 1.828 kB / 4.406 GB, free: 139.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/12.4, allocations: 9.766 kB / 4.406 GB, free: 139.2 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.003003/12.41, allocations: 2.112 MB / 4.408 GB, free: 138.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/12.41, allocations: 4.469 kB / 4.408 GB, free: 138.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/12.41, allocations: 48.14 kB / 4.409 GB, free: 138.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004858/12.41, allocations: 178.7 kB / 4.409 GB, free: 138.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/12.41, allocations: 8.844 kB / 4.409 GB, free: 138.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006822/12.41, allocations: 0.8484 MB / 4.41 GB, free: 137.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/12.41, allocations: 10.05 kB / 4.41 GB, free: 137.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/12.41, allocations: 0.9233 MB / 4.41 GB, free: 137.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004297/12.41, allocations: 239.9 kB / 4.411 GB, free: 137.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/12.41, allocations: 8.078 kB / 4.411 GB, free: 137.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007056/12.41, allocations: 79.22 kB / 4.411 GB, free: 137.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/12.41, allocations: 34.2 kB / 4.411 GB, free: 137.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/12.41, allocations: 16.42 kB / 4.411 GB, free: 137.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00102/12.41, allocations: 0.815 MB / 4.412 GB, free: 137.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.4e-07/12.41, allocations: 0 / 4.412 GB, free: 137.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001881/12.41, allocations: 0.6015 MB / 4.412 GB, free: 137.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001572/12.41, allocations: 1.081 MB / 4.413 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001662/12.42, allocations: 1.101 MB / 4.414 GB, free: 136.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/12.42, allocations: 3.844 kB / 4.414 GB, free: 136.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003347/12.42, allocations: 235.4 kB / 4.415 GB, free: 136.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/12.42, allocations: 0.6383 MB / 4.415 GB, free: 136.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/12.42, allocations: 1.466 MB / 4.417 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005818/12.42, allocations: 1.233 MB / 4.418 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001901/12.42, allocations: 0.8092 MB / 4.419 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.547e-05/12.42, allocations: 53.2 kB / 4.419 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of SimCode: time 6.91e-07/12.42, allocations: 0 / 4.419 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.0542/12.48, allocations: 38.31 MB / 4.456 GB, free: 134.9 MB / 0.6042 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)