Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.854/1.854, allocations: 288.2 MB / 303.2 MB, free: 8.121 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.001402/0.001402, allocations: 194.5 kB / 371.8 MB, free: 10.24 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.814/1.814, allocations: 205.4 MB / 0.6305 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009685/0.0009685, allocations: 102.9 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005249/0.000525, allocations: 15.94 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2626, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.7595/1.022, allocations: 140.5 MB / 1.117 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006197/1.028, allocations: 3.587 MB / 1.12 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007412/1.029, allocations: 13.88 kB / 1.12 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009744/1.03, allocations: 234.4 kB / 1.12 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002824/1.033, allocations: 0.6837 MB / 1.121 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/1.035, allocations: 497.4 kB / 1.122 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002508/1.037, allocations: 1.651 MB / 1.123 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003265/1.041, allocations: 2.323 MB / 1.125 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0025/1.043, allocations: 0.8579 MB / 1.126 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/1.045, allocations: 0.6007 MB / 1.127 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001693/1.045, allocations: 51.11 kB / 1.127 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/1.047, allocations: 460.5 kB / 1.127 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005974/1.047, allocations: 298.3 kB / 1.128 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008522/1.048, allocations: 249.3 kB / 1.128 GB, free: 16.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00199/1.05, allocations: 1.13 MB / 1.129 GB, free: 16.38 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.05, allocations: 0 / 1.129 GB, free: 16.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/1.05, allocations: 0 / 1.129 GB, free: 16.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.908e-05/1.05, allocations: 0 / 1.129 GB, free: 16.38 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.004294/1.055, allocations: 1.501 MB / 1.13 GB, free: 15.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.691e-05/1.055, allocations: 11.98 kB / 1.13 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003004/1.055, allocations: 96.89 kB / 1.131 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/1.057, allocations: 211.2 kB / 1.131 GB, free: 15.28 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002819/1.06, allocations: 0.8646 MB / 1.132 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.308e-05/1.06, allocations: 47.95 kB / 1.132 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/1.06, allocations: 64.91 kB / 1.132 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002311/1.062, allocations: 0.9854 MB / 1.133 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/1.062, allocations: 2.5 kB / 1.133 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/1.062, allocations: 25.09 kB / 1.133 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/1.062, allocations: 13.94 kB / 1.133 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/1.064, allocations: 0.8071 MB / 1.133 GB, free: 14.16 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.006732/1.071, allocations: 4.818 MB / 1.138 GB, free: 10.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/1.074, allocations: 4.028 MB / 1.142 GB, free: 5.973 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.071e-05/1.074, allocations: 14.69 kB / 1.142 GB, free: 5.969 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005734/1.075, allocations: 333.8 kB / 1.142 GB, free: 5.816 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005661/1.075, allocations: 34.81 kB / 1.142 GB, free: 5.797 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 5.35e-06/1.075, allocations: 1.031 kB / 1.142 GB, free: 5.797 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.005526/1.081, allocations: 1.7 MB / 1.144 GB, free: 5.059 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.523e-05/1.081, allocations: 107.3 kB / 1.144 GB, free: 4.934 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/1.083, allocations: 1.183 MB / 1.145 GB, free: 4.562 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/1.083, allocations: 37.42 kB / 1.145 GB, free: 4.531 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/1.083, allocations: 0.507 MB / 1.146 GB, free: 4.316 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/1.083, allocations: 119.5 kB / 1.146 GB, free: 4.234 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/1.083, allocations: 14.56 kB / 1.146 GB, free: 4.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.084, allocations: 326.1 kB / 1.146 GB, free: 3.918 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004192/1.084, allocations: 210.3 kB / 1.147 GB, free: 3.867 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006949/1.085, allocations: 0.5377 MB / 1.147 GB, free: 3.422 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005207/1.085, allocations: 325.9 kB / 1.147 GB, free: 3.312 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/1.085, allocations: 3.062 kB / 1.147 GB, free: 3.312 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00273/1.088, allocations: 1.07 MB / 1.148 GB, free: 2.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008576/1.089, allocations: 2.148 MB / 1.151 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/1.089, allocations: 5.562 kB / 1.151 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001651/1.091, allocations: 435.6 kB / 1.151 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/1.091, allocations: 76.08 kB / 1.151 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/1.093, allocations: 1.133 MB / 1.152 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/1.094, allocations: 101.3 kB / 1.152 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.471e-05/1.095, allocations: 24.81 kB / 1.152 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/1.095, allocations: 3.906 kB / 1.152 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001833/1.096, allocations: 0.8151 MB / 1.153 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.096, allocations: 5.5 kB / 1.153 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000678/1.097, allocations: 253.1 kB / 1.153 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/1.097, allocations: 74.62 kB / 1.153 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004685/1.102, allocations: 3.209 MB / 1.157 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/1.103, allocations: 99.98 kB / 1.157 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/1.104, allocations: 26.55 kB / 1.157 GB, free: 13.55 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.001012/1.105, allocations: 472.5 kB / 1.157 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002565/1.105, allocations: 114 kB / 1.157 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/1.106, allocations: 0.808 MB / 1.158 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/1.106, allocations: 3.625 kB / 1.158 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.106, allocations: 2.156 kB / 1.158 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.107, allocations: 0 / 1.158 GB, free: 12.95 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003621/1.11, allocations: 2.241 MB / 1.16 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/1.11, allocations: 6.703 kB / 1.16 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/1.11, allocations: 44.91 kB / 1.16 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005226/1.111, allocations: 238.2 kB / 1.16 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/1.111, allocations: 13.25 kB / 1.16 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/1.112, allocations: 0.9402 MB / 1.161 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/1.112, allocations: 2.594 kB / 1.161 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/1.114, allocations: 0.9804 MB / 1.162 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000605/1.114, allocations: 241.2 kB / 1.163 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/1.115, allocations: 9.281 kB / 1.163 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006958/1.115, allocations: 73.5 kB / 1.163 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.574e-05/1.115, allocations: 34.48 kB / 1.163 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/1.115, allocations: 13.78 kB / 1.163 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00133/1.117, allocations: 0.8291 MB / 1.163 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.214e-06/1.117, allocations: 1.969 kB / 1.163 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001882/1.119, allocations: 0.507 MB / 1.164 GB, free: 9.875 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002497/1.121, allocations: 1.969 MB / 1.166 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002988/1.124, allocations: 1.287 MB / 1.167 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.124, allocations: 0 / 1.167 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007108/1.125, allocations: 324.8 kB / 1.167 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003864/1.129, allocations: 0.6487 MB / 1.168 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01911/1.148, allocations: 10.49 MB / 1.178 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/1.149, allocations: 1.236 MB / 1.18 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001446/1.151, allocations: 330.2 kB / 1.18 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005772/1.151, allocations: 361.7 kB / 1.18 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of SimCode: time 1.493e-06/1.151, allocations: 0 / 1.18 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06384/1.215, allocations: 31.26 MB / 1.211 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002743/1.215, allocations: 276.3 kB / 1.211 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.87/4.086, allocations: 0 / 1.211 GB, free: 4.02 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)