Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.751/2.751, allocations: 287.5 MB / 302.4 MB, free: 8.359 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.001412/0.001411, allocations: 180.4 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.252/2.252, allocations: 205.4 MB / 0.6297 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.0009519/0.0009516, allocations: 102.5 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005251/0.0005253, allocations: 13.31 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2506, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 1.006/1.257, allocations: 152.4 MB / 1.127 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.008218/1.265, allocations: 3.777 MB / 1.131 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000848/1.266, allocations: 16.81 kB / 1.131 GB, free: 0.5156 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/1.267, allocations: 152.8 kB / 1.131 GB, free: 472 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002599/1.27, allocations: 0.5022 MB / 1.132 GB, free: 344 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002127/1.272, allocations: 410.8 kB / 1.132 GB, free: 308 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005809/1.278, allocations: 3.288 MB / 1.135 GB, free: 15.88 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004541/1.282, allocations: 2.292 MB / 1.137 GB, free: 15.49 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003814/1.286, allocations: 1.057 MB / 1.138 GB, free: 15.27 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002613/1.289, allocations: 0.8495 MB / 1.139 GB, free: 15.1 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004298/1.289, allocations: 51.55 kB / 1.139 GB, free: 15.1 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003129/1.293, allocations: 0.5992 MB / 1.14 GB, free: 15.03 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009881/1.294, allocations: 329.6 kB / 1.14 GB, free: 14.97 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008912/1.295, allocations: 250.8 kB / 1.141 GB, free: 14.9 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003138/1.298, allocations: 1.173 MB / 1.142 GB, free: 14.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/1.298, allocations: 0 / 1.142 GB, free: 14.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.038e-06/1.298, allocations: 1.531 kB / 1.142 GB, free: 14.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.848e-05/1.298, allocations: 0 / 1.142 GB, free: 14.57 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.00563/1.304, allocations: 1.525 MB / 1.143 GB, free: 13.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/1.304, allocations: 9.844 kB / 1.143 GB, free: 13.52 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004822/1.304, allocations: 96.33 kB / 1.143 GB, free: 13.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/1.306, allocations: 210.4 kB / 1.143 GB, free: 13.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003387/1.309, allocations: 0.8675 MB / 1.144 GB, free: 12.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.881e-05/1.309, allocations: 46.78 kB / 1.144 GB, free: 12.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002446/1.309, allocations: 62.12 kB / 1.144 GB, free: 12.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0029/1.312, allocations: 0.9944 MB / 1.145 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/1.312, allocations: 6.156 kB / 1.145 GB, free: 12.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/1.313, allocations: 20.72 kB / 1.145 GB, free: 12.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/1.313, allocations: 17.3 kB / 1.145 GB, free: 12.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002656/1.315, allocations: 0.8078 MB / 1.146 GB, free: 12.22 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.009462/1.325, allocations: 4.802 MB / 1.151 GB, free: 8.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003955/1.329, allocations: 4.024 MB / 1.155 GB, free: 4.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/1.33, allocations: 349.6 kB / 1.155 GB, free: 3.957 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004777/1.331, allocations: 192.2 kB / 1.155 GB, free: 3.762 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/1.332, allocations: 351.2 kB / 1.156 GB, free: 3.598 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008286/1.332, allocations: 30.41 kB / 1.156 GB, free: 3.582 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 5.03e-06/1.333, allocations: 0 / 1.156 GB, free: 3.582 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.01057/1.343, allocations: 1.7 MB / 1.157 GB, free: 2.832 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.23e-05/1.343, allocations: 84.39 kB / 1.157 GB, free: 2.738 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003207/1.346, allocations: 1.176 MB / 1.159 GB, free: 2.371 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001991/1.347, allocations: 41.78 kB / 1.159 GB, free: 2.336 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007292/1.347, allocations: 0.5058 MB / 1.159 GB, free: 2.121 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/1.348, allocations: 127.1 kB / 1.159 GB, free: 2.027 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/1.348, allocations: 11.06 kB / 1.159 GB, free: 2.027 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000163/1.348, allocations: 327.8 kB / 1.16 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007898/1.349, allocations: 205 kB / 1.16 GB, free: 1.668 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/1.35, allocations: 0.5361 MB / 1.16 GB, free: 1.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009251/1.351, allocations: 318.8 kB / 1.161 GB, free: 1.129 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/1.351, allocations: 1.375 kB / 1.161 GB, free: 1.129 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.004696/1.356, allocations: 1.079 MB / 1.162 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002675/1.356, allocations: 276.9 kB / 1.162 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/1.356, allocations: 9.281 kB / 1.162 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002988/1.359, allocations: 446.7 kB / 1.162 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006539/1.36, allocations: 78.94 kB / 1.162 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/1.362, allocations: 1.123 MB / 1.164 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/1.365, allocations: 95.61 kB / 1.164 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002184/1.365, allocations: 25.19 kB / 1.164 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.365, allocations: 5.094 kB / 1.164 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002973/1.368, allocations: 0.8204 MB / 1.164 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/1.368, allocations: 10.19 kB / 1.164 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/1.37, allocations: 247 kB / 1.165 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006447/1.37, allocations: 71.42 kB / 1.165 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006929/1.377, allocations: 3.159 MB / 1.168 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001988/1.379, allocations: 96.33 kB / 1.168 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/1.379, allocations: 22.25 kB / 1.168 GB, free: 13.28 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.001159/1.381, allocations: 482.8 kB / 1.168 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004307/1.381, allocations: 115.8 kB / 1.169 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/1.384, allocations: 0.8272 MB / 1.169 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/1.384, allocations: 2.594 kB / 1.169 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.384, allocations: 2.906 kB / 1.169 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/1.384, allocations: 4.094 kB / 1.169 GB, free: 12.65 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.005788/1.389, allocations: 2.163 MB / 1.171 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/1.39, allocations: 2.812 kB / 1.171 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004571/1.39, allocations: 40.62 kB / 1.171 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000911/1.391, allocations: 250.8 kB / 1.172 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.186e-05/1.391, allocations: 14 kB / 1.172 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/1.393, allocations: 0.9324 MB / 1.173 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/1.393, allocations: 6.875 kB / 1.173 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002449/1.395, allocations: 0.8842 MB / 1.174 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009559/1.396, allocations: 247.6 kB / 1.174 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/1.396, allocations: 11.84 kB / 1.174 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/1.398, allocations: 81.06 kB / 1.174 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/1.398, allocations: 25 kB / 1.174 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.981e-05/1.398, allocations: 16.11 kB / 1.174 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00196/1.4, allocations: 0.8297 MB / 1.175 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.41e-07/1.4, allocations: 0 / 1.175 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002965/1.403, allocations: 0.502 MB / 1.175 GB, free: 9.754 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.00298/1.406, allocations: 1.422 MB / 1.177 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004847/1.411, allocations: 1.291 MB / 1.178 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.411, allocations: 0 / 1.178 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/1.413, allocations: 320 kB / 1.178 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006914/1.419, allocations: 0.6539 MB / 1.179 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02493/1.444, allocations: 7.146 MB / 1.186 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/1.446, allocations: 1.215 MB / 1.187 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001992/1.448, allocations: 329.9 kB / 1.187 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009458/1.449, allocations: 363.5 kB / 1.188 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of SimCode: time 1.974e-06/1.449, allocations: 0 / 1.188 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1288/1.578, allocations: 31.27 MB / 1.218 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004131/1.578, allocations: 282.2 kB / 1.218 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.023/5.601, allocations: 0 / 1.218 GB, free: 4.059 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)