Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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.375/1.375, allocations: 251.5 MB / 266.7 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 179.7 kB / 325.9 MB, free: 2.656 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205 MB / 0.576 GB, free: 21.02 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.000779/0.000779, allocations: 89.69 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.0002923, allocations: 20.78 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1462, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1354/0.2816, allocations: 159.2 MB / 1.052 GB, free: 4.27 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002917/0.2846, allocations: 1.823 MB / 1.053 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003414/0.2849, allocations: 7.938 kB / 1.053 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005097/0.2854, allocations: 135.2 kB / 1.054 GB, free: 2.301 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.2866, allocations: 0.498 MB / 1.054 GB, free: 1.801 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.2877, allocations: 352.3 kB / 1.054 GB, free: 1.461 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.3638/0.6515, allocations: 3.467 MB / 1.058 GB, free: 2.23 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.6526, allocations: 0.7377 MB / 1.058 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.6542, allocations: 0.8726 MB / 1.059 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009075/0.6551, allocations: 0.7362 MB / 1.06 GB, free: 2.129 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.602e-05/0.6552, allocations: 34.53 kB / 1.06 GB, free: 2.129 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.6568, allocations: 0.8074 MB / 1.061 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003722/0.6572, allocations: 282.6 kB / 1.061 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006115/0.6578, allocations: 0.5159 MB / 1.062 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.66, allocations: 1.389 MB / 1.063 GB, free: 2.074 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.66, allocations: 2.469 kB / 1.063 GB, free: 2.074 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.685e-06/0.66, allocations: 0 / 1.063 GB, free: 2.074 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.234e-05/0.66, allocations: 0.8438 kB / 1.063 GB, free: 2.074 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.002573/0.6626, allocations: 1.29 MB / 1.064 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.6627, allocations: 9.375 kB / 1.064 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/0.6628, allocations: 97.84 kB / 1.064 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007835/0.6636, allocations: 191.5 kB / 1.065 GB, free: 17.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.6652, allocations: 0.8314 MB / 1.065 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.019e-05/0.6652, allocations: 45.05 kB / 1.065 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.6654, allocations: 60.33 kB / 1.065 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.6668, allocations: 0.799 MB / 1.066 GB, free: 16.58 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.6668, allocations: 4.5 kB / 1.066 GB, free: 16.58 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.394e-05/0.6669, allocations: 26.78 kB / 1.066 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.6669, allocations: 18.12 kB / 1.066 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.668, allocations: 0.5393 MB / 1.067 GB, free: 16.57 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 preOpt removeSimpleEquations (simulation): time 0.004351/0.6724, allocations: 4.613 MB / 1.071 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007455/0.6731, allocations: 425.9 kB / 1.072 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004222/0.6736, allocations: 255.2 kB / 1.072 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002967/0.6739, allocations: 194 kB / 1.072 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005108/0.6744, allocations: 301.9 kB / 1.072 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 2.485e-06/0.6744, allocations: 0 / 1.072 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31): time 0.00149/0.6759, allocations: 0.6449 MB / 1.073 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.676, allocations: 90.02 kB / 1.073 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.6775, allocations: 1.122 MB / 1.074 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.521e-05/0.6775, allocations: 38.64 kB / 1.074 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.6778, allocations: 492.9 kB / 1.075 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.993e-05/0.6779, allocations: 109.2 kB / 1.075 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.678, allocations: 44.75 kB / 1.075 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.858e-05/0.6781, allocations: 326.9 kB / 1.075 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003764/0.6785, allocations: 211.2 kB / 1.075 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005688/0.6791, allocations: 0.5252 MB / 1.076 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009322/0.68, allocations: 0.6478 MB / 1.077 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.68, allocations: 2.344 kB / 1.077 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001148/0.6812, allocations: 0.7398 MB / 1.077 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001564/0.6813, allocations: 280.3 kB / 1.078 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.6814, allocations: 7.312 kB / 1.078 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.6814, allocations: 8.094 kB / 1.078 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004305/0.6818, allocations: 114.1 kB / 1.078 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.6818, allocations: 10.88 kB / 1.078 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008362/0.6827, allocations: 106.3 kB / 1.078 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/0.6828, allocations: 26.34 kB / 1.078 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.591e-06/0.6828, allocations: 7.312 kB / 1.078 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007751/0.6835, allocations: 0.5408 MB / 1.078 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6836, allocations: 5.188 kB / 1.078 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.254e-06/0.6836, allocations: 11.09 kB / 1.078 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/0.6839, allocations: 110.5 kB / 1.078 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.6839, allocations: 12.69 kB / 1.078 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006209/0.6846, allocations: 96.34 kB / 1.079 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.6846, allocations: 25.58 kB / 1.079 GB, free: 10.73 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004809/0.6851, allocations: 474.5 kB / 1.079 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.6852, allocations: 97.5 kB / 1.079 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008017/0.686, allocations: 0.4888 MB / 1.08 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.6861, allocations: 8.375 kB / 1.08 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.6861, allocations: 3.938 kB / 1.08 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.6861, allocations: 1.25 kB / 1.08 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.688, allocations: 1.4 MB / 1.081 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.6881, allocations: 2.344 kB / 1.081 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.6883, allocations: 64.53 kB / 1.081 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.6883, allocations: 9.344 kB / 1.081 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.6884, allocations: 7.562 kB / 1.081 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.6884, allocations: 6.469 kB / 1.081 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.6884, allocations: 10.17 kB / 1.081 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008141/0.6892, allocations: 0.6126 MB / 1.082 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003083/0.6895, allocations: 218.7 kB / 1.082 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.6896, allocations: 14 kB / 1.082 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004924/0.6901, allocations: 57.16 kB / 1.082 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.968e-05/0.6902, allocations: 26.94 kB / 1.082 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.6903, allocations: 12.34 kB / 1.082 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009494/0.6912, allocations: 0.7978 MB / 1.083 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.3e-07/0.6912, allocations: 0 / 1.083 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001212/0.6924, allocations: 408.8 kB / 1.083 GB, free: 9.41 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001299/0.6937, allocations: 1.222 MB / 1.084 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001199/0.695, allocations: 0.8371 MB / 1.085 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.695, allocations: 1.859 kB / 1.085 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.6953, allocations: 203.8 kB / 1.085 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/0.6975, allocations: 460 kB / 1.086 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/0.7102, allocations: 8.817 MB / 1.094 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006115/0.7108, allocations: 1.183 MB / 1.096 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001132/0.7119, allocations: 418.5 kB / 1.096 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/0.7123, allocations: 327.8 kB / 1.096 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of SimCode: time 4.31e-07/0.7123, allocations: 0 / 1.096 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1997/0.912, allocations: 24.98 MB / 1.121 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003308/0.9124, allocations: 277.2 kB / 1.121 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.741/3.654, allocations: 8 kB / 1.121 GB, free: 13.23 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)