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: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.719/1.719, allocations: 289.9 MB / 297.4 MB, free: 6.324 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.001434/0.001435, allocations: 176.9 kB / 366.7 MB, free: 1.637 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.786/1.786, allocations: 205.2 MB / 0.626 GB, free: 7.129 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.000875/0.0008747, allocations: 87.94 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.472e-05/2.474e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8007/0.8007, allocations: 116.3 MB / 0.9733 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.317/6.117, allocations: 2.064 GB / 3.037 GB, free: 65.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/6.118, allocations: 84.48 kB / 3.037 GB, free: 65.62 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.359/10.48, allocations: 1.06 GB / 4.097 GB, free: 106 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.165e-06/10.48, allocations: 0 / 4.097 GB, free: 106 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001278/10.48, allocations: 35.92 kB / 4.097 GB, free: 105.9 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.004693/10.48, allocations: 1.282 MB / 4.099 GB, free: 104.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/10.48, allocations: 8.031 kB / 4.099 GB, free: 104.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/10.48, allocations: 198.4 kB / 4.099 GB, free: 104.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003624/10.49, allocations: 1.422 MB / 4.1 GB, free: 102.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/10.49, allocations: 20 kB / 4.1 GB, free: 102.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.8e-05/10.49, allocations: 43.98 kB / 4.1 GB, free: 102.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001098/10.49, allocations: 0.7014 MB / 4.101 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/10.49, allocations: 0.8454 MB / 4.102 GB, free: 101.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/10.49, allocations: 7.938 kB / 4.102 GB, free: 101.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.385e-05/10.49, allocations: 7.938 kB / 4.102 GB, free: 101.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/10.49, allocations: 19.89 kB / 4.102 GB, free: 101.2 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.004433/10.49, allocations: 4.6 MB / 4.106 GB, free: 96.26 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/10.5, allocations: 4.075 MB / 4.11 GB, free: 91.36 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003435/10.5, allocations: 339.5 kB / 4.111 GB, free: 91.03 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003056/10.5, allocations: 194.2 kB / 4.111 GB, free: 90.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003732/10.5, allocations: 293.3 kB / 4.111 GB, free: 90.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005487/10.5, allocations: 19.75 kB / 4.111 GB, free: 90.48 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 2.234e-06/10.5, allocations: 0 / 4.111 GB, free: 90.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001772/10.5, allocations: 0.8131 MB / 4.112 GB, free: 89.65 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/10.5, allocations: 93.09 kB / 4.112 GB, free: 89.54 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/10.5, allocations: 0.8946 MB / 4.113 GB, free: 88.63 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/10.5, allocations: 25.7 kB / 4.113 GB, free: 88.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004022/10.5, allocations: 0.5238 MB / 4.113 GB, free: 88.07 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.925e-05/10.5, allocations: 126.1 kB / 4.113 GB, free: 87.95 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/10.5, allocations: 7.938 kB / 4.113 GB, free: 87.94 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.542e-05/10.5, allocations: 330 kB / 4.114 GB, free: 87.61 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/10.5, allocations: 205 kB / 4.114 GB, free: 87.41 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004766/10.5, allocations: 0.5316 MB / 4.114 GB, free: 86.72 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/10.5, allocations: 302 kB / 4.115 GB, free: 86.43 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/10.5, allocations: 4 kB / 4.115 GB, free: 86.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001619/10.5, allocations: 0.9606 MB / 4.116 GB, free: 85.45 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005856/10.5, allocations: 2.217 MB / 4.118 GB, free: 83.06 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/10.5, allocations: 4 kB / 4.118 GB, free: 83.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004796/10.5, allocations: 258.7 kB / 4.118 GB, free: 82.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/10.5, allocations: 83.89 kB / 4.118 GB, free: 82.72 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/10.51, allocations: 1.765 MB / 4.12 GB, free: 80.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/10.51, allocations: 99.64 kB / 4.12 GB, free: 80.81 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.466e-05/10.51, allocations: 28 kB / 4.12 GB, free: 80.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/10.51, allocations: 0.9375 kB / 4.12 GB, free: 80.79 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001082/10.51, allocations: 0.6565 MB / 4.121 GB, free: 80.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/10.51, allocations: 8 kB / 4.121 GB, free: 80.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000501/10.51, allocations: 192.7 kB / 4.121 GB, free: 79.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/10.51, allocations: 91.94 kB / 4.121 GB, free: 79.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/10.51, allocations: 2.799 MB / 4.124 GB, free: 76.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/10.51, allocations: 95.8 kB / 4.124 GB, free: 76.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/10.51, allocations: 24 kB / 4.124 GB, free: 76.81 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.0001947/10.51, allocations: 125 kB / 4.124 GB, free: 76.68 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009746/10.52, allocations: 0.6724 MB / 4.125 GB, free: 76 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/10.52, allocations: 99.02 kB / 4.125 GB, free: 75.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/10.52, allocations: 0.7223 MB / 4.125 GB, free: 75.16 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/10.52, allocations: 4 kB / 4.125 GB, free: 75.16 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/10.52, allocations: 0 / 4.125 GB, free: 75.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/10.52, allocations: 0 / 4.125 GB, free: 75.16 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.002744/10.52, allocations: 2.01 MB / 4.127 GB, free: 73.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/10.52, allocations: 4 kB / 4.127 GB, free: 73.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/10.52, allocations: 59.95 kB / 4.127 GB, free: 72.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002844/10.52, allocations: 160.6 kB / 4.128 GB, free: 72.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/10.52, allocations: 11.95 kB / 4.128 GB, free: 72.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008778/10.52, allocations: 1.481 MB / 4.129 GB, free: 71.26 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/10.52, allocations: 11.95 kB / 4.129 GB, free: 71.25 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/10.52, allocations: 0.8934 MB / 4.13 GB, free: 70.26 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003865/10.52, allocations: 231.6 kB / 4.13 GB, free: 70.02 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/10.52, allocations: 3.984 kB / 4.13 GB, free: 70.01 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006822/10.52, allocations: 71.77 kB / 4.13 GB, free: 69.94 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.561e-05/10.52, allocations: 43.91 kB / 4.13 GB, free: 69.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/10.52, allocations: 11.98 kB / 4.13 GB, free: 69.89 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008083/10.52, allocations: 0.6984 MB / 4.131 GB, free: 69.18 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.81e-07/10.52, allocations: 0 / 4.131 GB, free: 69.18 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001884/10.53, allocations: 0.558 MB / 4.131 GB, free: 68.62 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.002786/10.53, allocations: 3.011 MB / 4.134 GB, free: 65.53 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002549/10.53, allocations: 1.223 MB / 4.136 GB, free: 64.27 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/10.53, allocations: 8.062 kB / 4.136 GB, free: 64.26 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005243/10.53, allocations: 271.6 kB / 4.136 GB, free: 64 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003326/10.54, allocations: 0.5836 MB / 4.136 GB, free: 63.43 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/10.54, allocations: 1.71 MB / 4.138 GB, free: 61.64 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006864/10.54, allocations: 1.238 MB / 4.139 GB, free: 60.38 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002185/10.54, allocations: 0.7103 MB / 4.14 GB, free: 59.66 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003611/10.54, allocations: 331.3 kB / 4.14 GB, free: 59.34 MB / 0.948 GB Notification: Performance of SimCode: time 3.236e-06/10.54, allocations: 0 / 4.14 GB, free: 59.34 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07464/10.62, allocations: 36.29 MB / 4.176 GB, free: 23.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/10.62, allocations: 193.2 kB / 4.176 GB, free: 23 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.634/14.25, allocations: 4 kB / 4.176 GB, free: 22.99 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)