Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.48/1.48, allocations: 249.3 MB / 261.8 MB, free: 5.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 184.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.2 MB / 0.572 GB, free: 10.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009168/0.0009169, allocations: 99.09 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.608e-05/3.611e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2563, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.411/6.668, allocations: 2.182 GB / 3.074 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/6.668, allocations: 92.59 kB / 3.074 GB, free: 188 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.837/10.51, allocations: 1.034 GB / 4.108 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.755e-06/10.51, allocations: 0 / 4.108 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001019/10.51, allocations: 35.92 kB / 4.108 GB, free: 139.9 MB / 0.8698 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.00382/10.51, allocations: 1.276 MB / 4.109 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/10.51, allocations: 8.031 kB / 4.109 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002046/10.51, allocations: 98.52 kB / 4.109 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/10.51, allocations: 199.2 kB / 4.11 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003516/10.51, allocations: 1.433 MB / 4.111 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/10.51, allocations: 45.31 kB / 4.111 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.887e-05/10.51, allocations: 68 kB / 4.111 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/10.52, allocations: 0.9254 MB / 4.112 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/10.52, allocations: 7.938 kB / 4.112 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.736e-05/10.52, allocations: 20 kB / 4.112 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/10.52, allocations: 16 kB / 4.112 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008504/10.52, allocations: 0.7064 MB / 4.113 GB, free: 134.9 MB / 0.8698 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.003839/10.52, allocations: 4.73 MB / 4.117 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/10.52, allocations: 4.014 MB / 4.121 GB, free: 125 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003447/10.52, allocations: 332.6 kB / 4.122 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002902/10.52, allocations: 198.2 kB / 4.122 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003746/10.52, allocations: 309.3 kB / 4.122 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004373/10.52, allocations: 31.69 kB / 4.122 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 2.335e-06/10.52, allocations: 0 / 4.122 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.001251/10.52, allocations: 0.735 MB / 4.123 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/10.52, allocations: 81.11 kB / 4.123 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/10.53, allocations: 1.039 MB / 4.124 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/10.53, allocations: 33.7 kB / 4.124 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/10.53, allocations: 0.5174 MB / 4.124 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.158e-05/10.53, allocations: 126.3 kB / 4.125 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/10.53, allocations: 12 kB / 4.125 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.622e-05/10.53, allocations: 322 kB / 4.125 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/10.53, allocations: 189 kB / 4.125 GB, free: 121 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/10.53, allocations: 0.5288 MB / 4.126 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/10.53, allocations: 319.3 kB / 4.126 GB, free: 120 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/10.53, allocations: 0 / 4.126 GB, free: 120 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001166/10.53, allocations: 0.9313 MB / 4.127 GB, free: 119 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005077/10.53, allocations: 2.218 MB / 4.129 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/10.53, allocations: 11.98 kB / 4.129 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005527/10.53, allocations: 284.2 kB / 4.129 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/10.53, allocations: 91.81 kB / 4.129 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/10.53, allocations: 1.657 MB / 4.131 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/10.53, allocations: 103.7 kB / 4.131 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.544e-05/10.53, allocations: 35.94 kB / 4.131 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/10.53, allocations: 4 kB / 4.131 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001101/10.53, allocations: 0.7512 MB / 4.132 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/10.53, allocations: 4 kB / 4.132 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000419/10.53, allocations: 219.9 kB / 4.132 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/10.53, allocations: 91.78 kB / 4.132 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/10.54, allocations: 2.887 MB / 4.135 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/10.54, allocations: 99.8 kB / 4.135 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.421e-05/10.54, allocations: 27.98 kB / 4.135 GB, free: 110.2 MB / 0.8698 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.0001827/10.54, allocations: 145 kB / 4.135 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/10.54, allocations: 106.7 kB / 4.135 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/10.54, allocations: 0.7541 MB / 4.136 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/10.54, allocations: 4.188 kB / 4.136 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/10.54, allocations: 0 / 4.136 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/10.54, allocations: 7.984 kB / 4.136 GB, free: 109.2 MB / 0.8698 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.002408/10.54, allocations: 2.117 MB / 4.138 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/10.54, allocations: 8 kB / 4.138 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/10.54, allocations: 63.83 kB / 4.138 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003747/10.54, allocations: 200.6 kB / 4.138 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/10.54, allocations: 12 kB / 4.138 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008064/10.54, allocations: 1.462 MB / 4.14 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/10.54, allocations: 7.875 kB / 4.14 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009018/10.54, allocations: 0.9207 MB / 4.141 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003983/10.55, allocations: 239.7 kB / 4.141 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.983e-05/10.55, allocations: 11.94 kB / 4.141 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006853/10.55, allocations: 79.75 kB / 4.141 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.372e-05/10.55, allocations: 31.97 kB / 4.141 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/10.55, allocations: 19.92 kB / 4.141 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008969/10.55, allocations: 0.8104 MB / 4.142 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/10.55, allocations: 0 / 4.142 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001801/10.55, allocations: 0.601 MB / 4.142 GB, free: 102.3 MB / 0.8698 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.002577/10.55, allocations: 2.916 MB / 4.145 GB, free: 99.28 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002303/10.55, allocations: 1.245 MB / 4.146 GB, free: 98 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/10.55, allocations: 0 / 4.146 GB, free: 98 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005093/10.55, allocations: 296.1 kB / 4.147 GB, free: 97.71 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003178/10.56, allocations: 0.646 MB / 4.147 GB, free: 97.07 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/10.56, allocations: 1.771 MB / 4.149 GB, free: 95.23 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000569/10.56, allocations: 1.239 MB / 4.15 GB, free: 93.96 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001899/10.56, allocations: 0.8046 MB / 4.151 GB, free: 93.15 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/10.56, allocations: 339.3 kB / 4.151 GB, free: 92.82 MB / 0.8698 GB Notification: Performance of SimCode: time 1.493e-06/10.56, allocations: 0 / 4.151 GB, free: 92.82 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08055/10.64, allocations: 51.38 MB / 4.202 GB, free: 41.66 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/10.64, allocations: 245.5 kB / 4.202 GB, free: 41.33 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.791/14.43, allocations: 4 kB / 4.202 GB, free: 41.32 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)