Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.606/1.606, allocations: 287.4 MB / 302.6 MB, free: 8.246 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.0009578/0.0009579, allocations: 187.1 kB / 371.1 MB, free: 10.84 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.374/1.374, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0007132/0.0007135, allocations: 90.34 kB / 0.7431 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.000385, allocations: 11.34 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1678, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.4836/0.6514, allocations: 152.4 MB / 1.128 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003732/0.6552, allocations: 3.779 MB / 1.131 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002368/0.6554, allocations: 10.16 kB / 1.131 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004554/0.6559, allocations: 161.8 kB / 1.131 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.6569, allocations: 0.4925 MB / 1.132 GB, free: 412 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008653/0.6578, allocations: 414.7 kB / 1.132 GB, free: 372 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00254/0.6604, allocations: 3.327 MB / 1.136 GB, free: 15.92 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002015/0.6624, allocations: 2.351 MB / 1.138 GB, free: 15.51 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.6638, allocations: 1.061 MB / 1.139 GB, free: 15.29 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009075/0.6648, allocations: 0.8515 MB / 1.14 GB, free: 15.05 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.6649, allocations: 48.66 kB / 1.14 GB, free: 15.05 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.6662, allocations: 0.5964 MB / 1.14 GB, free: 14.98 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003418/0.6666, allocations: 329.4 kB / 1.141 GB, free: 14.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003023/0.6669, allocations: 250.8 kB / 1.141 GB, free: 14.86 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001277/0.6682, allocations: 1.169 MB / 1.142 GB, free: 14.53 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6682, allocations: 0 / 1.142 GB, free: 14.53 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6682, allocations: 1.094 kB / 1.142 GB, free: 14.53 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.6682, allocations: 4 kB / 1.142 GB, free: 14.53 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.003058/0.6713, allocations: 1.511 MB / 1.144 GB, free: 13.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.526e-05/0.6713, allocations: 9.094 kB / 1.144 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002162/0.6716, allocations: 96.39 kB / 1.144 GB, free: 13.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.6727, allocations: 209 kB / 1.144 GB, free: 13.33 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/0.6745, allocations: 0.9162 MB / 1.145 GB, free: 12.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.301e-05/0.6746, allocations: 46.53 kB / 1.145 GB, free: 12.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.6747, allocations: 64.44 kB / 1.145 GB, free: 12.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.6764, allocations: 0.9969 MB / 1.146 GB, free: 12.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.6764, allocations: 5.219 kB / 1.146 GB, free: 12.31 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.02e-05/0.6765, allocations: 21.72 kB / 1.146 GB, free: 12.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.6765, allocations: 14.03 kB / 1.146 GB, free: 12.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.6778, allocations: 0.8067 MB / 1.147 GB, free: 12.13 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.004844/0.6826, allocations: 4.811 MB / 1.151 GB, free: 8.309 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/0.685, allocations: 4.015 MB / 1.155 GB, free: 3.918 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004975/0.6856, allocations: 353.2 kB / 1.156 GB, free: 3.852 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002935/0.6859, allocations: 196.1 kB / 1.156 GB, free: 3.652 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005281/0.6864, allocations: 340.6 kB / 1.156 GB, free: 3.5 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004279/0.6868, allocations: 33.34 kB / 1.156 GB, free: 3.484 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 2.424e-06/0.6869, allocations: 0 / 1.156 GB, free: 3.484 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.005115/0.692, allocations: 1.769 MB / 1.158 GB, free: 2.711 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.6921, allocations: 85.72 kB / 1.158 GB, free: 2.613 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.6936, allocations: 1.176 MB / 1.159 GB, free: 2.246 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.6936, allocations: 38.08 kB / 1.159 GB, free: 2.215 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000394/0.694, allocations: 0.5103 MB / 1.16 GB, free: 1.996 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.956e-05/0.6941, allocations: 130.5 kB / 1.16 GB, free: 1.902 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.6942, allocations: 12.12 kB / 1.16 GB, free: 1.898 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.6943, allocations: 330.3 kB / 1.16 GB, free: 1.582 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.6946, allocations: 206.7 kB / 1.16 GB, free: 1.539 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000607/0.6952, allocations: 0.5349 MB / 1.161 GB, free: 1.098 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008399/0.6961, allocations: 0.6405 MB / 1.161 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.6961, allocations: 6.938 kB / 1.161 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002184/0.6983, allocations: 1.078 MB / 1.162 GB, free: 352 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.6985, allocations: 275.7 kB / 1.163 GB, free: 24 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.6985, allocations: 5.719 kB / 1.163 GB, free: 24 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.6998, allocations: 378.9 kB / 1.163 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.7002, allocations: 77.81 kB / 1.163 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/0.7012, allocations: 1.055 MB / 1.164 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.7024, allocations: 99.31 kB / 1.164 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.388e-05/0.7025, allocations: 29.7 kB / 1.164 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.168e-06/0.7025, allocations: 3.656 kB / 1.164 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001441/0.704, allocations: 0.8108 MB / 1.165 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.704, allocations: 4.688 kB / 1.165 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000577/0.7046, allocations: 256.5 kB / 1.165 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/0.7049, allocations: 77.91 kB / 1.165 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003567/0.7085, allocations: 3.135 MB / 1.169 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.7096, allocations: 98.38 kB / 1.169 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/0.7096, allocations: 33.25 kB / 1.169 GB, free: 12.98 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 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0007486/0.7104, allocations: 484.1 kB / 1.169 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.7105, allocations: 110.5 kB / 1.169 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.7118, allocations: 0.8215 MB / 1.17 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.7119, allocations: 3.281 kB / 1.17 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.7119, allocations: 0 / 1.17 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.7119, allocations: 0 / 1.17 GB, free: 12.36 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.002705/0.7146, allocations: 2.174 MB / 1.172 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.7146, allocations: 2.344 kB / 1.172 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.7148, allocations: 53.41 kB / 1.172 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004439/0.7153, allocations: 211.2 kB / 1.172 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.7153, allocations: 12.95 kB / 1.172 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006783/0.716, allocations: 0.8833 MB / 1.173 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.716, allocations: 3.031 kB / 1.173 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.7172, allocations: 0.8797 MB / 1.174 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004483/0.7177, allocations: 243.7 kB / 1.174 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.7178, allocations: 10.86 kB / 1.174 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006598/0.7185, allocations: 79.52 kB / 1.174 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/0.7186, allocations: 31.92 kB / 1.174 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.7186, allocations: 12.7 kB / 1.174 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001112/0.7197, allocations: 0.8313 MB / 1.175 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/0.7197, allocations: 0 / 1.175 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001561/0.7213, allocations: 0.5073 MB / 1.176 GB, free: 9.473 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 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001832/0.7231, allocations: 1.408 MB / 1.177 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001933/0.7251, allocations: 1.135 MB / 1.178 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.7251, allocations: 0 / 1.178 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004258/0.7255, allocations: 254.6 kB / 1.179 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003402/0.7289, allocations: 0.6624 MB / 1.179 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/0.7405, allocations: 7.052 MB / 1.186 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007304/0.7412, allocations: 1.214 MB / 1.187 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001042/0.7423, allocations: 332.3 kB / 1.188 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004246/0.7427, allocations: 357.3 kB / 1.188 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/0.7427, allocations: 0 / 1.188 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3302/1.073, allocations: 31.58 MB / 1.219 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002604/1.073, allocations: 284.5 kB / 1.219 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.79/3.864, allocations: 0 / 1.219 GB, free: 3.59 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)