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.001429/0.001429, allocations: 177.6 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5064/0.5064, allocations: 90.91 MB / 99.34 MB, free: 2.207 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 221.5 MB / 343.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009569/0.0009571, allocations: 105.8 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.786e-05/1.78e-05, allocations: 4 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1508, allocations: 72.33 MB / 0.5535 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.517/4.668, allocations: 1.822 GB / 2.376 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/4.668, allocations: 91.95 kB / 2.376 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.188/11.86, allocations: 1.976 GB / 4.352 GB, free: 5.867 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.594e-06/11.86, allocations: 4 kB / 4.352 GB, free: 5.863 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001991/11.86, allocations: 31.98 kB / 4.352 GB, free: 5.832 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.004823/11.86, allocations: 1.269 MB / 4.353 GB, free: 4.508 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/11.86, allocations: 8.031 kB / 4.353 GB, free: 4.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/11.86, allocations: 206.2 kB / 4.353 GB, free: 4.297 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003994/11.87, allocations: 1.429 MB / 4.354 GB, free: 2.812 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/11.87, allocations: 24 kB / 4.354 GB, free: 2.789 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/11.87, allocations: 40 kB / 4.354 GB, free: 2.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001091/11.87, allocations: 0.6936 MB / 4.355 GB, free: 2.055 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/11.87, allocations: 0.8507 MB / 4.356 GB, free: 1.129 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/11.87, allocations: 7.938 kB / 4.356 GB, free: 1.121 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.915e-05/11.87, allocations: 4 kB / 4.356 GB, free: 1.117 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/11.87, allocations: 16 kB / 4.356 GB, free: 1.102 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.4503/12.32, allocations: 4.581 MB / 4.36 GB, free: 145.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002858/12.32, allocations: 4.082 MB / 4.364 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007114/12.32, allocations: 340.8 kB / 4.365 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003742/12.32, allocations: 194 kB / 4.365 GB, free: 140.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006104/12.32, allocations: 293.6 kB / 4.365 GB, free: 140.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006943/12.33, allocations: 21.03 kB / 4.365 GB, free: 140.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 2.605e-06/12.33, allocations: 0.7812 kB / 4.365 GB, free: 140.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.002336/12.33, allocations: 0.8021 MB / 4.366 GB, free: 140.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/12.33, allocations: 81.88 kB / 4.366 GB, free: 140.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/12.33, allocations: 0.8997 MB / 4.367 GB, free: 140.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.626e-05/12.33, allocations: 29.39 kB / 4.367 GB, free: 140.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004418/12.33, allocations: 0.526 MB / 4.368 GB, free: 140.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/12.33, allocations: 125.6 kB / 4.368 GB, free: 140.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/12.33, allocations: 0 / 4.368 GB, free: 140.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.858e-05/12.33, allocations: 324.1 kB / 4.368 GB, free: 140 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/12.33, allocations: 205 kB / 4.368 GB, free: 140 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005499/12.33, allocations: 0.539 MB / 4.369 GB, free: 139.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000445/12.33, allocations: 293.1 kB / 4.369 GB, free: 139.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/12.33, allocations: 2.875 kB / 4.369 GB, free: 139.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001923/12.33, allocations: 0.9545 MB / 4.37 GB, free: 139.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005433/12.33, allocations: 2.222 MB / 4.372 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/12.33, allocations: 4.875 kB / 4.372 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005506/12.33, allocations: 231.1 kB / 4.372 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/12.33, allocations: 80.7 kB / 4.372 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/12.34, allocations: 1.103 MB / 4.373 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/12.34, allocations: 94.44 kB / 4.374 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-05/12.34, allocations: 27.69 kB / 4.374 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/12.34, allocations: 6.5 kB / 4.374 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001386/12.34, allocations: 0.6498 MB / 4.374 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/12.34, allocations: 6.062 kB / 4.374 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006146/12.34, allocations: 212.8 kB / 4.374 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/12.34, allocations: 79.12 kB / 4.374 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003498/12.34, allocations: 2.769 MB / 4.377 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/12.34, allocations: 94.52 kB / 4.377 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.516e-05/12.34, allocations: 26.66 kB / 4.377 GB, free: 135.2 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.0002344/12.35, allocations: 121.3 kB / 4.377 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/12.35, allocations: 106.4 kB / 4.378 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/12.35, allocations: 0.7149 MB / 4.378 GB, free: 135 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/12.35, allocations: 5.188 kB / 4.378 GB, free: 135 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/12.35, allocations: 0 / 4.378 GB, free: 135 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/12.35, allocations: 5.359 kB / 4.378 GB, free: 135 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.003022/12.35, allocations: 2.001 MB / 4.38 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/12.35, allocations: 2.094 kB / 4.38 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/12.35, allocations: 55.38 kB / 4.38 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002913/12.35, allocations: 137.5 kB / 4.38 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/12.35, allocations: 7.625 kB / 4.38 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006772/12.35, allocations: 0.8724 MB / 4.381 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/12.35, allocations: 5.656 kB / 4.381 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/12.35, allocations: 0.9018 MB / 4.382 GB, free: 133.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003842/12.35, allocations: 222.1 kB / 4.382 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/12.35, allocations: 3.688 kB / 4.382 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006952/12.35, allocations: 78.67 kB / 4.382 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/12.35, allocations: 41.66 kB / 4.382 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/12.35, allocations: 10.64 kB / 4.382 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001038/12.35, allocations: 0.6979 MB / 4.383 GB, free: 133.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.3e-07/12.35, allocations: 0 / 4.383 GB, free: 133.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002196/12.36, allocations: 0.5732 MB / 4.384 GB, free: 133 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.001841/12.36, allocations: 1.207 MB / 4.385 GB, free: 132.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00193/12.36, allocations: 1.069 MB / 4.386 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/12.36, allocations: 0 / 4.386 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003852/12.36, allocations: 225.5 kB / 4.386 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003386/12.36, allocations: 0.5782 MB / 4.387 GB, free: 132.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/12.37, allocations: 1.415 MB / 4.388 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000932/12.37, allocations: 1.236 MB / 4.389 GB, free: 131.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002523/12.37, allocations: 0.73 MB / 4.39 GB, free: 131.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/12.37, allocations: 49.88 kB / 4.39 GB, free: 131.4 MB / 0.6042 GB Notification: Performance of SimCode: time 9.42e-07/12.37, allocations: 0 / 4.39 GB, free: 131.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.04027/12.41, allocations: 25.29 MB / 4.415 GB, free: 130.7 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)