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.66/1.66, allocations: 252 MB / 267.3 MB, free: 10.84 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.001415/0.001415, allocations: 183.8 kB / 327 MB, free: 2.074 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.938/1.938, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0008395/0.0008397, allocations: 95.66 kB / 0.6826 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000498/0.0004985, allocations: 9.188 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2597, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1856/0.4453, allocations: 157.4 MB / 1.055 GB, free: 1.363 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.5874/1.033, allocations: 1.79 MB / 1.056 GB, free: 1.977 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004759/1.033, allocations: 8.5 kB / 1.056 GB, free: 1.977 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006075/1.034, allocations: 135.3 kB / 1.057 GB, free: 1.977 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001555/1.036, allocations: 0.4977 MB / 1.057 GB, free: 1.973 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/1.037, allocations: 343.4 kB / 1.057 GB, free: 1.965 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003618/1.04, allocations: 3.502 MB / 1.061 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003527/1.044, allocations: 2.219 MB / 1.063 GB, free: 1.648 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002772/1.047, allocations: 0.8718 MB / 1.064 GB, free: 1.645 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001851/1.049, allocations: 0.7402 MB / 1.065 GB, free: 1.641 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001868/1.049, allocations: 33.34 kB / 1.065 GB, free: 1.641 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002665/1.052, allocations: 0.7973 MB / 1.065 GB, free: 1.637 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007289/1.052, allocations: 283.6 kB / 1.066 GB, free: 1.637 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001679/1.054, allocations: 0.5391 MB / 1.066 GB, free: 17.61 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003435/1.058, allocations: 1.415 MB / 1.067 GB, free: 17.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.058, allocations: 0 / 1.067 GB, free: 17.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.276e-06/1.058, allocations: 0.75 kB / 1.067 GB, free: 17.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.633e-05/1.058, allocations: 4 kB / 1.068 GB, free: 17.5 MB / 0.7136 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.003953/1.062, allocations: 1.318 MB / 1.069 GB, free: 16.69 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/1.062, allocations: 9.312 kB / 1.069 GB, free: 16.69 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003/1.062, allocations: 94.91 kB / 1.069 GB, free: 16.65 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/1.063, allocations: 185.9 kB / 1.069 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002316/1.066, allocations: 0.842 MB / 1.07 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.423e-05/1.066, allocations: 43.41 kB / 1.07 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/1.066, allocations: 60.83 kB / 1.07 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/1.068, allocations: 0.8304 MB / 1.071 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/1.068, allocations: 4.312 kB / 1.071 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.448e-05/1.068, allocations: 23.23 kB / 1.071 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/1.068, allocations: 17.25 kB / 1.071 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/1.069, allocations: 0.5818 MB / 1.071 GB, free: 15.99 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.005486/1.075, allocations: 4.257 MB / 1.076 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008377/1.076, allocations: 454.1 kB / 1.076 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005414/1.076, allocations: 352.6 kB / 1.076 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003733/1.076, allocations: 191.3 kB / 1.077 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005836/1.077, allocations: 322.2 kB / 1.077 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007863/1.078, allocations: 28.88 kB / 1.077 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.645e-06/1.078, allocations: 0 / 1.077 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.005875/1.084, allocations: 1.729 MB / 1.079 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/1.084, allocations: 84.52 kB / 1.079 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/1.086, allocations: 1.155 MB / 1.08 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001113/1.086, allocations: 36.7 kB / 1.08 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005371/1.086, allocations: 488.4 kB / 1.08 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/1.087, allocations: 111.9 kB / 1.08 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/1.087, allocations: 9.312 kB / 1.08 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001783/1.087, allocations: 326.6 kB / 1.081 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005622/1.087, allocations: 238.3 kB / 1.081 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008303/1.088, allocations: 0.551 MB / 1.081 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/1.089, allocations: 0.6952 MB / 1.082 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/1.089, allocations: 2 kB / 1.082 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003117/1.093, allocations: 1.126 MB / 1.083 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000292/1.093, allocations: 285.4 kB / 1.083 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/1.093, allocations: 5.688 kB / 1.084 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/1.094, allocations: 378.9 kB / 1.084 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/1.095, allocations: 97.17 kB / 1.084 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/1.096, allocations: 1.052 MB / 1.085 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/1.097, allocations: 90.53 kB / 1.085 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.096e-05/1.097, allocations: 31.56 kB / 1.085 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/1.097, allocations: 2.688 kB / 1.085 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001515/1.099, allocations: 0.799 MB / 1.086 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/1.099, allocations: 2.5 kB / 1.086 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006664/1.1, allocations: 248.9 kB / 1.086 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/1.1, allocations: 96.25 kB / 1.086 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003832/1.104, allocations: 3.057 MB / 1.089 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/1.105, allocations: 91.44 kB / 1.089 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/1.105, allocations: 23.66 kB / 1.089 GB, free: 8.562 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,20)} Notification: Performance of prepare postOptimizeDAE: time 0.000984/1.106, allocations: 483.8 kB / 1.09 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003784/1.107, allocations: 100.1 kB / 1.09 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/1.108, allocations: 0.784 MB / 1.091 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/1.108, allocations: 3.859 kB / 1.091 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.108, allocations: 7.938 kB / 1.091 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/1.108, allocations: 3.75 kB / 1.091 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003459/1.112, allocations: 1.729 MB / 1.092 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/1.112, allocations: 7.125 kB / 1.092 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/1.112, allocations: 63.28 kB / 1.092 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005042/1.113, allocations: 250.7 kB / 1.093 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/1.113, allocations: 8.906 kB / 1.093 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008984/1.114, allocations: 1.011 MB / 1.094 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.114, allocations: 1.906 kB / 1.094 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/1.115, allocations: 0.9076 MB / 1.095 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007958/1.116, allocations: 227.3 kB / 1.095 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004295/1.117, allocations: 11.44 kB / 1.095 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/1.118, allocations: 66.48 kB / 1.095 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/1.118, allocations: 38.56 kB / 1.095 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/1.118, allocations: 10.44 kB / 1.095 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001647/1.12, allocations: 0.8202 MB / 1.096 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.12, allocations: 0 / 1.096 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002388/1.122, allocations: 473.3 kB / 1.096 GB, free: 6.551 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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002097/1.124, allocations: 1.426 MB / 1.098 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002452/1.127, allocations: 1.165 MB / 1.099 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.127, allocations: 0 / 1.099 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005664/1.127, allocations: 255.1 kB / 1.099 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004343/1.131, allocations: 0.6248 MB / 1.099 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.023/1.155, allocations: 9.917 MB / 1.109 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001385/1.156, allocations: 1.179 MB / 1.11 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001477/1.157, allocations: 344.7 kB / 1.111 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005982/1.158, allocations: 326.9 kB / 1.111 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of SimCode: time 1.182e-06/1.158, allocations: 0 / 1.111 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3857/1.544, allocations: 30.26 MB / 1.141 GB, free: 104 kB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006505/1.545, allocations: 307.9 kB / 1.141 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.508/5.053, allocations: 0 / 1.141 GB, free: 15.73 MB / 0.7448 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)