Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.434/1.434, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001279/0.001279, allocations: 188.9 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.001151/0.001151, allocations: 93.73 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003724, allocations: 9.281 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2425, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.1647/0.4072, allocations: 140.6 MB / 1.037 GB, free: 2.895 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005734/0.413, allocations: 3.637 MB / 1.041 GB, free: 15.25 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005417/0.4136, allocations: 7.938 kB / 1.041 GB, free: 15.24 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008642/0.4145, allocations: 246.9 kB / 1.041 GB, free: 15 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002247/0.4168, allocations: 0.6933 MB / 1.042 GB, free: 14.3 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.4184, allocations: 0.5121 MB / 1.042 GB, free: 13.8 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002311/0.4207, allocations: 1.648 MB / 1.044 GB, free: 12.15 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003517/0.4243, allocations: 2.325 MB / 1.046 GB, free: 9.812 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.4265, allocations: 0.8605 MB / 1.047 GB, free: 8.949 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.4277, allocations: 0.6031 MB / 1.048 GB, free: 8.344 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.4279, allocations: 48 kB / 1.048 GB, free: 8.297 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.4291, allocations: 459.3 kB / 1.048 GB, free: 7.848 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003465/0.4295, allocations: 299.1 kB / 1.049 GB, free: 7.555 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004015/0.4299, allocations: 249.1 kB / 1.049 GB, free: 7.305 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.4312, allocations: 1.127 MB / 1.05 GB, free: 6.176 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.4312, allocations: 0 / 1.05 GB, free: 6.176 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.288e-06/0.4312, allocations: 0 / 1.05 GB, free: 6.176 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.4313, allocations: 7.938 kB / 1.05 GB, free: 6.168 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.00274/0.434, allocations: 1.499 MB / 1.051 GB, free: 4.605 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.4341, allocations: 8.031 kB / 1.051 GB, free: 4.598 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001511/0.4342, allocations: 98.52 kB / 1.051 GB, free: 4.492 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007845/0.435, allocations: 206.3 kB / 1.052 GB, free: 4.289 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001685/0.4367, allocations: 0.8718 MB / 1.052 GB, free: 3.363 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.565e-05/0.4368, allocations: 45.31 kB / 1.053 GB, free: 3.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.4369, allocations: 64 kB / 1.053 GB, free: 3.258 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.4384, allocations: 0.9947 MB / 1.054 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.4384, allocations: 0 / 1.054 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.754e-05/0.4385, allocations: 27.94 kB / 1.054 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.4385, allocations: 12 kB / 1.054 GB, free: 2.145 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.4398, allocations: 0.8038 MB / 1.054 GB, free: 1.34 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.4927/0.9325, allocations: 4.809 MB / 1.059 GB, free: 153 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.9342, allocations: 4.027 MB / 1.063 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.195e-05/0.9343, allocations: 16.44 kB / 1.063 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004874/0.9348, allocations: 336.5 kB / 1.063 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004856/0.9353, allocations: 33.97 kB / 1.063 GB, free: 148.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 2.104e-06/0.9353, allocations: 0 / 1.063 GB, free: 148.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.005487/0.9408, allocations: 1.738 MB / 1.065 GB, free: 148.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.9409, allocations: 115.8 kB / 1.065 GB, free: 148.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/0.9428, allocations: 1.178 MB / 1.066 GB, free: 148.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.061e-05/0.9429, allocations: 37.45 kB / 1.066 GB, free: 148.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005088/0.9434, allocations: 0.5135 MB / 1.067 GB, free: 148.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.9435, allocations: 133.6 kB / 1.067 GB, free: 148 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.9436, allocations: 10.03 kB / 1.067 GB, free: 148 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.9437, allocations: 330.7 kB / 1.067 GB, free: 147.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003949/0.9441, allocations: 204.9 kB / 1.068 GB, free: 147.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005638/0.9447, allocations: 0.5307 MB / 1.068 GB, free: 147.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004702/0.9451, allocations: 323.7 kB / 1.068 GB, free: 147.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.9452, allocations: 3.656 kB / 1.068 GB, free: 147.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002341/0.9475, allocations: 1.076 MB / 1.069 GB, free: 147.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004105/0.9479, allocations: 2.137 MB / 1.071 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.9479, allocations: 8.953 kB / 1.071 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/0.9494, allocations: 377.4 kB / 1.072 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.9497, allocations: 71.62 kB / 1.072 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.951, allocations: 1.056 MB / 1.073 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.9522, allocations: 100.4 kB / 1.073 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.897e-05/0.9523, allocations: 27.27 kB / 1.073 GB, free: 144.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.9523, allocations: 3.219 kB / 1.073 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001705/0.954, allocations: 0.8113 MB / 1.074 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.954, allocations: 6.203 kB / 1.074 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007367/0.9548, allocations: 271.7 kB / 1.074 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.9551, allocations: 71.06 kB / 1.074 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004582/0.9597, allocations: 3.183 MB / 1.077 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.9611, allocations: 101.9 kB / 1.077 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.335e-05/0.9612, allocations: 23.12 kB / 1.077 GB, free: 142.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 22} Notification: Performance of prepare postOptimizeDAE: time 0.001046/0.9622, allocations: 477.1 kB / 1.078 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/0.9625, allocations: 111.1 kB / 1.078 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.9644, allocations: 0.7997 MB / 1.079 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.9644, allocations: 8.906 kB / 1.079 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.9644, allocations: 0.6562 kB / 1.079 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.9645, allocations: 3.859 kB / 1.079 GB, free: 142.3 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 postOpt removeSimpleEquations (simulation): time 0.003869/0.9683, allocations: 2.245 MB / 1.081 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.9684, allocations: 2.094 kB / 1.081 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.9686, allocations: 44.86 kB / 1.081 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004688/0.9691, allocations: 212.9 kB / 1.081 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.9691, allocations: 8.188 kB / 1.081 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006947/0.9698, allocations: 0.8808 MB / 1.082 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.9698, allocations: 6.719 kB / 1.082 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.9713, allocations: 0.9807 MB / 1.083 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005195/0.9719, allocations: 235 kB / 1.083 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.972, allocations: 8.938 kB / 1.083 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006907/0.9727, allocations: 82.19 kB / 1.083 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.396e-05/0.9728, allocations: 36.88 kB / 1.083 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.9728, allocations: 10.59 kB / 1.083 GB, free: 140.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001272/0.9741, allocations: 0.8279 MB / 1.084 GB, free: 139.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9741, allocations: 0 / 1.084 GB, free: 139.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00191/0.976, allocations: 0.5117 MB / 1.085 GB, free: 139.9 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 (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.00191/0.978, allocations: 1.976 MB / 1.087 GB, free: 138.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002394/0.9804, allocations: 1.133 MB / 1.088 GB, free: 137.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/0.9804, allocations: 5.156 kB / 1.088 GB, free: 137.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005798/0.981, allocations: 254.5 kB / 1.088 GB, free: 137.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003681/0.9847, allocations: 0.6516 MB / 1.089 GB, free: 137.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/1, allocations: 10.36 MB / 1.099 GB, free: 130.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006568/1.001, allocations: 1.237 MB / 1.1 GB, free: 129.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001187/1.002, allocations: 320 kB / 1.1 GB, free: 128.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/1.002, allocations: 367.3 kB / 1.101 GB, free: 128.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.372e-06/1.002, allocations: 0 / 1.101 GB, free: 128.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05091/1.053, allocations: 31.58 MB / 1.131 GB, free: 97.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/1.054, allocations: 297.7 kB / 1.132 GB, free: 96.94 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.06/4.113, allocations: 0 / 1.132 GB, free: 96.94 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)