Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.403/1.403, allocations: 252 MB / 267 MB, free: 10.97 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.001097/0.001097, allocations: 178.2 kB / 326.6 MB, free: 2.211 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.854/1.854, allocations: 205.4 MB / 0.5777 GB, free: 20.55 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.0008153/0.0008152, allocations: 82.36 kB / 0.6822 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003759, allocations: 11.8 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2192, allocations: 106.3 MB / 0.9003 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1624/0.3816, allocations: 146.9 MB / 1.044 GB, free: 12.84 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003523/0.3852, allocations: 1.695 MB / 1.045 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000406/0.3856, allocations: 7.938 kB / 1.045 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005673/0.3862, allocations: 119.2 kB / 1.046 GB, free: 11.02 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001454/0.3877, allocations: 382.1 kB / 1.046 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.3891, allocations: 336 kB / 1.046 GB, free: 10.32 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003353/0.3924, allocations: 3.008 MB / 1.049 GB, free: 7.305 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00301/0.3955, allocations: 2.141 MB / 1.051 GB, free: 5.145 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002447/0.398, allocations: 0.8637 MB / 1.052 GB, free: 4.277 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.3995, allocations: 0.7079 MB / 1.053 GB, free: 3.566 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001607/0.3997, allocations: 32 kB / 1.053 GB, free: 3.535 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.4014, allocations: 0.5535 MB / 1.053 GB, free: 2.98 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004342/0.4018, allocations: 286.9 kB / 1.054 GB, free: 2.699 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005865/0.4024, allocations: 229.1 kB / 1.054 GB, free: 2.469 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.4041, allocations: 1.041 MB / 1.055 GB, free: 1.426 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.4042, allocations: 3.938 kB / 1.055 GB, free: 1.422 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.286e-06/0.4042, allocations: 0 / 1.055 GB, free: 1.422 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.082e-05/0.4042, allocations: 0 / 1.055 GB, free: 1.422 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.002634/0.4068, allocations: 1.331 MB / 1.056 GB, free: 28 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.427e-05/0.4069, allocations: 8.031 kB / 1.056 GB, free: 20 kB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.4376/0.8445, allocations: 92.38 kB / 1.056 GB, free: 157.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.8457, allocations: 183.1 kB / 1.056 GB, free: 157.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/0.8477, allocations: 0.8099 MB / 1.057 GB, free: 157.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.027e-05/0.8477, allocations: 43.94 kB / 1.057 GB, free: 157.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.635e-05/0.8478, allocations: 58.19 kB / 1.057 GB, free: 157.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.8491, allocations: 0.8358 MB / 1.058 GB, free: 157.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.8491, allocations: 2.062 kB / 1.058 GB, free: 157.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.272e-05/0.8492, allocations: 24.53 kB / 1.058 GB, free: 157.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.8492, allocations: 12.78 kB / 1.058 GB, free: 157.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.8503, allocations: 0.5752 MB / 1.059 GB, free: 157.1 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.004511/0.8548, allocations: 4.25 MB / 1.063 GB, free: 154.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008927/0.8557, allocations: 453.5 kB / 1.063 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005806/0.8563, allocations: 347.1 kB / 1.064 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003006/0.8566, allocations: 194.6 kB / 1.064 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006066/0.8572, allocations: 322.7 kB / 1.064 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004868/0.8577, allocations: 29.05 kB / 1.064 GB, free: 153.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.126e-06/0.8577, allocations: 0 / 1.064 GB, free: 153.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.005875/0.8636, allocations: 1.692 MB / 1.066 GB, free: 153.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.8637, allocations: 83.02 kB / 1.066 GB, free: 153.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002063/0.8658, allocations: 1.145 MB / 1.067 GB, free: 153.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.471e-05/0.8659, allocations: 44.2 kB / 1.067 GB, free: 153.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005348/0.8665, allocations: 486.9 kB / 1.068 GB, free: 153.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.8666, allocations: 110.9 kB / 1.068 GB, free: 153.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.8666, allocations: 9.594 kB / 1.068 GB, free: 153.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.157e-05/0.8667, allocations: 329.5 kB / 1.068 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005427/0.8673, allocations: 202.9 kB / 1.068 GB, free: 152.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007129/0.868, allocations: 0.5313 MB / 1.069 GB, free: 152.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006066/0.8686, allocations: 321.4 kB / 1.069 GB, free: 152.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.8686, allocations: 3.031 kB / 1.069 GB, free: 152.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002952/0.8716, allocations: 1.043 MB / 1.07 GB, free: 152.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000168/0.8718, allocations: 279.9 kB / 1.07 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.8718, allocations: 6.125 kB / 1.07 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/0.8733, allocations: 349.2 kB / 1.071 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004613/0.8738, allocations: 100 kB / 1.071 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.8751, allocations: 1.048 MB / 1.072 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.8765, allocations: 91.28 kB / 1.072 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.844e-05/0.8766, allocations: 25.55 kB / 1.072 GB, free: 151.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.8766, allocations: 3.5 kB / 1.072 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001941/0.8786, allocations: 0.7889 MB / 1.073 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.8786, allocations: 12.11 kB / 1.073 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008437/0.8795, allocations: 242 kB / 1.073 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.8799, allocations: 109.9 kB / 1.073 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004349/0.8843, allocations: 3.052 MB / 1.076 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.8855, allocations: 87.77 kB / 1.076 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.251e-05/0.8856, allocations: 21.56 kB / 1.076 GB, free: 149.7 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.0007681/0.8864, allocations: 472.2 kB / 1.076 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.8866, allocations: 103.5 kB / 1.077 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.8882, allocations: 0.7968 MB / 1.077 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.8882, allocations: 2.656 kB / 1.077 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.8882, allocations: 1.469 kB / 1.077 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.8882, allocations: 3.984 kB / 1.077 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003062/0.8913, allocations: 1.731 MB / 1.079 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.8913, allocations: 2.719 kB / 1.079 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.8916, allocations: 67.06 kB / 1.079 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005354/0.8921, allocations: 242.3 kB / 1.079 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.8922, allocations: 8.594 kB / 1.079 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008751/0.8931, allocations: 1.01 MB / 1.08 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.8931, allocations: 2.219 kB / 1.08 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.8946, allocations: 0.9059 MB / 1.081 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005029/0.8952, allocations: 227.5 kB / 1.081 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.8953, allocations: 16.61 kB / 1.081 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006873/0.896, allocations: 66.95 kB / 1.082 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.8961, allocations: 33.52 kB / 1.082 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.8962, allocations: 15.91 kB / 1.082 GB, free: 147 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001317/0.8975, allocations: 0.8089 MB / 1.082 GB, free: 146.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8975, allocations: 0 / 1.082 GB, free: 146.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001981/0.8995, allocations: 481.6 kB / 1.083 GB, free: 146.5 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.001987/0.9015, allocations: 1.422 MB / 1.084 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00266/0.9042, allocations: 1.137 MB / 1.085 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.9042, allocations: 0.5 kB / 1.085 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006752/0.9049, allocations: 254.8 kB / 1.086 GB, free: 144.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003902/0.9088, allocations: 0.6322 MB / 1.086 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.9212, allocations: 6.802 MB / 1.093 GB, free: 138.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005406/0.9218, allocations: 1.185 MB / 1.094 GB, free: 137.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001215/0.923, allocations: 348.1 kB / 1.094 GB, free: 136.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004014/0.9234, allocations: 327.3 kB / 1.095 GB, free: 136.5 MB / 0.698 GB Notification: Performance of SimCode: time 2.775e-06/0.9235, allocations: 0 / 1.095 GB, free: 136.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05089/0.9744, allocations: 30.72 MB / 1.125 GB, free: 106.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.9747, allocations: 290.3 kB / 1.125 GB, free: 105.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.061/4.035, allocations: 0 / 1.125 GB, free: 105.8 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)