Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.597/1.597, allocations: 289.9 MB / 297.4 MB, free: 6.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001268/0.001268, allocations: 172.9 kB / 366.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.2 MB / 0.626 GB, free: 7.191 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009218/0.0009218, allocations: 93.86 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.169e-05/2.171e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6767/0.6768, allocations: 116.3 MB / 0.9733 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.014/5.691, allocations: 2.064 GB / 3.037 GB, free: 66.66 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/5.691, allocations: 83.95 kB / 3.037 GB, free: 66.58 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.777/9.469, allocations: 1.06 GB / 4.097 GB, free: 107.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.394e-06/9.469, allocations: 4 kB / 4.097 GB, free: 107 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001216/9.469, allocations: 35.92 kB / 4.097 GB, free: 107 MB / 0.948 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.004281/9.473, allocations: 1.271 MB / 4.098 GB, free: 105.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/9.473, allocations: 12.03 kB / 4.098 GB, free: 105.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/9.474, allocations: 202.4 kB / 4.099 GB, free: 105.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003245/9.477, allocations: 1.422 MB / 4.1 GB, free: 104 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/9.478, allocations: 20 kB / 4.1 GB, free: 104 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.68e-05/9.478, allocations: 40 kB / 4.1 GB, free: 103.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009804/9.479, allocations: 0.6975 MB / 4.101 GB, free: 103.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/9.48, allocations: 0.8454 MB / 4.102 GB, free: 102.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/9.48, allocations: 15.88 kB / 4.102 GB, free: 102.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.599e-05/9.48, allocations: 0 / 4.102 GB, free: 102.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/9.48, allocations: 19.95 kB / 4.102 GB, free: 102.3 MB / 0.948 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.003761/9.484, allocations: 4.604 MB / 4.106 GB, free: 97.37 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/9.485, allocations: 4.07 MB / 4.11 GB, free: 92.47 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003289/9.486, allocations: 350.5 kB / 4.11 GB, free: 92.13 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003009/9.486, allocations: 194.2 kB / 4.111 GB, free: 91.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003446/9.486, allocations: 293.4 kB / 4.111 GB, free: 91.6 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003699/9.487, allocations: 19.73 kB / 4.111 GB, free: 91.58 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 1.974e-06/9.487, allocations: 0 / 4.111 GB, free: 91.58 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001621/9.488, allocations: 0.8137 MB / 4.112 GB, free: 90.75 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/9.488, allocations: 85.11 kB / 4.112 GB, free: 90.65 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009459/9.489, allocations: 0.9024 MB / 4.113 GB, free: 89.73 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/9.489, allocations: 29.7 kB / 4.113 GB, free: 89.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/9.49, allocations: 0.5199 MB / 4.113 GB, free: 89.18 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.643e-05/9.49, allocations: 134.1 kB / 4.113 GB, free: 89.04 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/9.49, allocations: 4 kB / 4.113 GB, free: 89.04 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.064e-05/9.49, allocations: 330 kB / 4.114 GB, free: 88.71 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/9.49, allocations: 201 kB / 4.114 GB, free: 88.52 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/9.49, allocations: 0.5316 MB / 4.114 GB, free: 87.83 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/9.491, allocations: 294.1 kB / 4.115 GB, free: 87.54 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/9.491, allocations: 4 kB / 4.115 GB, free: 87.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001417/9.492, allocations: 0.9645 MB / 4.116 GB, free: 86.56 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005152/9.493, allocations: 2.221 MB / 4.118 GB, free: 84.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/9.493, allocations: 4 kB / 4.118 GB, free: 84.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004288/9.493, allocations: 254.7 kB / 4.118 GB, free: 83.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/9.494, allocations: 87.81 kB / 4.118 GB, free: 83.83 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/9.495, allocations: 1.761 MB / 4.12 GB, free: 82.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/9.496, allocations: 103.6 kB / 4.12 GB, free: 81.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/9.496, allocations: 27.98 kB / 4.12 GB, free: 81.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/9.496, allocations: 4 kB / 4.12 GB, free: 81.89 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001004/9.497, allocations: 0.6564 MB / 4.121 GB, free: 81.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/9.497, allocations: 7.984 kB / 4.121 GB, free: 81.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003972/9.498, allocations: 192.7 kB / 4.121 GB, free: 81.03 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/9.498, allocations: 87.97 kB / 4.121 GB, free: 80.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/9.501, allocations: 2.789 MB / 4.124 GB, free: 78.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009695/9.502, allocations: 95.7 kB / 4.124 GB, free: 77.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/9.502, allocations: 27.98 kB / 4.124 GB, free: 77.92 MB / 0.948 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): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.000181/9.502, allocations: 125.8 kB / 4.124 GB, free: 77.79 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/9.502, allocations: 98.78 kB / 4.124 GB, free: 77.69 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/9.503, allocations: 0.7224 MB / 4.125 GB, free: 76.96 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/9.503, allocations: 4 kB / 4.125 GB, free: 76.95 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/9.503, allocations: 0 / 4.125 GB, free: 76.95 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/9.503, allocations: 3.938 kB / 4.125 GB, free: 76.95 MB / 0.948 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.002214/9.505, allocations: 2.006 MB / 4.127 GB, free: 74.81 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/9.505, allocations: 0 / 4.127 GB, free: 74.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002352/9.506, allocations: 60.14 kB / 4.127 GB, free: 74.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002471/9.506, allocations: 171.7 kB / 4.127 GB, free: 74.59 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/9.506, allocations: 4.188 kB / 4.127 GB, free: 74.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007847/9.507, allocations: 1.482 MB / 4.128 GB, free: 73.05 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/9.507, allocations: 0 / 4.128 GB, free: 73.05 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008561/9.507, allocations: 0.9009 MB / 4.129 GB, free: 72.06 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/9.508, allocations: 223.8 kB / 4.129 GB, free: 71.82 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/9.508, allocations: 15.94 kB / 4.129 GB, free: 71.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006526/9.509, allocations: 71.77 kB / 4.129 GB, free: 71.73 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.663e-05/9.509, allocations: 31.95 kB / 4.13 GB, free: 71.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/9.509, allocations: 15.98 kB / 4.13 GB, free: 71.69 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007012/9.509, allocations: 0.6984 MB / 4.13 GB, free: 70.98 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/9.509, allocations: 0 / 4.13 GB, free: 70.98 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00166/9.511, allocations: 0.5656 MB / 4.131 GB, free: 70.41 MB / 0.948 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): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001594/9.513, allocations: 1.206 MB / 4.132 GB, free: 69.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002107/9.515, allocations: 1.211 MB / 4.133 GB, free: 67.96 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/9.515, allocations: 0 / 4.133 GB, free: 67.96 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004577/9.515, allocations: 284 kB / 4.133 GB, free: 67.68 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002906/9.518, allocations: 0.5875 MB / 4.134 GB, free: 67.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/9.52, allocations: 1.428 MB / 4.135 GB, free: 65.62 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/9.521, allocations: 1.23 MB / 4.137 GB, free: 64.36 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001705/9.522, allocations: 0.7142 MB / 4.137 GB, free: 63.64 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.107e-05/9.523, allocations: 51.44 kB / 4.137 GB, free: 63.59 MB / 0.948 GB Notification: Performance of SimCode: time 9.92e-07/9.523, allocations: 0 / 4.137 GB, free: 63.59 MB / 0.948 GB Notification: Performance of Templates: time 0.03974/9.562, allocations: 25.18 MB / 4.162 GB, free: 38.55 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)