Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",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.772/1.772, 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.001302/0.001302, allocations: 185 kB / 371.8 MB, free: 10.28 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.801/1.801, allocations: 205.4 MB / 0.6305 GB, free: 10 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.001049/0.001049, allocations: 92.84 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004643/0.0004645, allocations: 11.09 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2349, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.7251/0.9601, allocations: 135.7 MB / 1.112 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003506/0.9637, allocations: 1.67 MB / 1.114 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004786/0.9642, allocations: 8.875 kB / 1.114 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007621/0.965, allocations: 182 kB / 1.114 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002015/0.967, allocations: 0.4896 MB / 1.114 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00187/0.9689, allocations: 409.8 kB / 1.115 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002764/0.9717, allocations: 1.507 MB / 1.116 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003439/0.9751, allocations: 2.188 MB / 1.118 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001912/0.977, allocations: 0.6953 MB / 1.119 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000998/0.9781, allocations: 487.3 kB / 1.119 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.9782, allocations: 38.78 kB / 1.119 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.9796, allocations: 418.2 kB / 1.12 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003259/0.9799, allocations: 254.3 kB / 1.12 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005493/0.9805, allocations: 236.5 kB / 1.12 GB, free: 17.05 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.9818, allocations: 0.986 MB / 1.121 GB, free: 16.95 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.9818, allocations: 0 / 1.121 GB, free: 16.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.065e-06/0.9819, allocations: 0 / 1.121 GB, free: 16.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.9819, allocations: 1.031 kB / 1.121 GB, free: 16.95 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002512/0.9844, allocations: 1.319 MB / 1.123 GB, free: 16.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.9845, allocations: 8.531 kB / 1.123 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001432/0.9846, allocations: 94.2 kB / 1.123 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008588/0.9855, allocations: 185.1 kB / 1.123 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.9872, allocations: 0.8095 MB / 1.124 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/0.9873, allocations: 41.62 kB / 1.124 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.421e-05/0.9874, allocations: 57.81 kB / 1.124 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.9887, allocations: 0.8273 MB / 1.125 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.9887, allocations: 2.812 kB / 1.125 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.998e-05/0.9888, allocations: 22.47 kB / 1.125 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.9888, allocations: 12.69 kB / 1.125 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009335/0.9898, allocations: 0.571 MB / 1.125 GB, free: 15.44 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.00478/0.9946, allocations: 4.25 MB / 1.129 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007431/0.9953, allocations: 467.8 kB / 1.13 GB, free: 12.28 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.577e-05/0.9954, allocations: 18.81 kB / 1.13 GB, free: 12.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005091/0.9959, allocations: 325.5 kB / 1.13 GB, free: 12.12 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004281/0.9964, allocations: 33.12 kB / 1.13 GB, free: 12.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.304e-06/0.9964, allocations: 0 / 1.13 GB, free: 12.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.005188/1.002, allocations: 1.673 MB / 1.132 GB, free: 11.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.481e-05/1.002, allocations: 109.4 kB / 1.132 GB, free: 11.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/1.003, allocations: 1.147 MB / 1.133 GB, free: 10.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.304e-05/1.004, allocations: 36.36 kB / 1.133 GB, free: 10.87 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004438/1.004, allocations: 487.5 kB / 1.133 GB, free: 10.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/1.004, allocations: 120.1 kB / 1.134 GB, free: 10.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/1.004, allocations: 8.969 kB / 1.134 GB, free: 10.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.004, allocations: 333.8 kB / 1.134 GB, free: 10.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/1.005, allocations: 205.8 kB / 1.134 GB, free: 10.22 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006497/1.005, allocations: 0.5172 MB / 1.135 GB, free: 9.797 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005041/1.006, allocations: 321 kB / 1.135 GB, free: 9.691 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.006, allocations: 2.469 kB / 1.135 GB, free: 9.691 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002495/1.008, allocations: 1.049 MB / 1.136 GB, free: 9.297 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001266/1.01, allocations: 2.127 MB / 1.138 GB, free: 7.059 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/1.01, allocations: 5.406 kB / 1.138 GB, free: 7.059 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/1.011, allocations: 356.2 kB / 1.138 GB, free: 6.941 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000476/1.012, allocations: 96.44 kB / 1.138 GB, free: 6.918 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/1.013, allocations: 1.054 MB / 1.139 GB, free: 6.266 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/1.015, allocations: 87.44 kB / 1.14 GB, free: 6.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.222e-05/1.015, allocations: 25.41 kB / 1.14 GB, free: 6.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.015, allocations: 3.25 kB / 1.14 GB, free: 6.23 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001621/1.016, allocations: 0.7954 MB / 1.14 GB, free: 5.984 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.016, allocations: 9.75 kB / 1.14 GB, free: 5.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006821/1.017, allocations: 245.5 kB / 1.141 GB, free: 5.914 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/1.017, allocations: 100.7 kB / 1.141 GB, free: 5.887 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00425/1.022, allocations: 3.105 MB / 1.144 GB, free: 4.094 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/1.023, allocations: 88.56 kB / 1.144 GB, free: 4.059 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-05/1.023, allocations: 24.53 kB / 1.144 GB, free: 4.059 MB / 0.698 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 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0008389/1.024, allocations: 474.2 kB / 1.144 GB, free: 3.785 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002566/1.024, allocations: 103.5 kB / 1.144 GB, free: 3.734 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/1.026, allocations: 0.7674 MB / 1.145 GB, free: 3.473 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/1.026, allocations: 5.703 kB / 1.145 GB, free: 3.473 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.026, allocations: 1 kB / 1.145 GB, free: 3.473 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/1.026, allocations: 1.406 kB / 1.145 GB, free: 3.473 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/1.028, allocations: 1.162 MB / 1.146 GB, free: 2.809 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/1.028, allocations: 3.375 kB / 1.146 GB, free: 2.809 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/1.028, allocations: 56.5 kB / 1.146 GB, free: 2.793 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005837/1.029, allocations: 253.1 kB / 1.147 GB, free: 2.707 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/1.029, allocations: 15.39 kB / 1.147 GB, free: 2.703 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009956/1.03, allocations: 0.9973 MB / 1.148 GB, free: 2.078 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.03, allocations: 2.938 kB / 1.148 GB, free: 2.078 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/1.032, allocations: 0.9147 MB / 1.148 GB, free: 1.605 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000616/1.032, allocations: 232.6 kB / 1.149 GB, free: 1.434 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/1.032, allocations: 11.48 kB / 1.149 GB, free: 1.434 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006361/1.033, allocations: 70.5 kB / 1.149 GB, free: 1.398 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/1.033, allocations: 35.22 kB / 1.149 GB, free: 1.383 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/1.033, allocations: 13.61 kB / 1.149 GB, free: 1.379 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001329/1.034, allocations: 0.8107 MB / 1.15 GB, free: 1.113 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.034, allocations: 0 / 1.15 GB, free: 1.113 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001643/1.036, allocations: 470.1 kB / 1.15 GB, free: 1.086 MB / 0.698 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 (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.00233/1.038, allocations: 1.913 MB / 1.152 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002404/1.041, allocations: 1.141 MB / 1.153 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.041, allocations: 0 / 1.153 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006117/1.041, allocations: 252.2 kB / 1.153 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003561/1.045, allocations: 0.6283 MB / 1.154 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/1.062, allocations: 10.14 MB / 1.164 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008357/1.063, allocations: 1.201 MB / 1.165 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001327/1.064, allocations: 344 kB / 1.165 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003922/1.064, allocations: 323 kB / 1.166 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of SimCode: time 7.12e-07/1.064, allocations: 0 / 1.166 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06105/1.125, allocations: 30.68 MB / 1.196 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003777/1.126, allocations: 280.5 kB / 1.196 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.114/4.24, allocations: 4.312 kB / 1.196 GB, free: 15.47 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)