Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.466/1.466, allocations: 252 MB / 267.3 MB, free: 10.82 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.00129/0.00129, allocations: 176.5 kB / 327 MB, free: 2.086 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.779/1.779, allocations: 205.4 MB / 0.578 GB, free: 20.1 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.0008434/0.0008436, allocations: 94.22 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003546, allocations: 9.391 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2062, allocations: 106.4 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1699/0.3761, allocations: 157.4 MB / 1.055 GB, free: 1.375 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.496/0.8722, allocations: 3.629 MB / 1.058 GB, free: 1.969 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004558/0.8727, allocations: 8.094 kB / 1.058 GB, free: 1.969 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005819/0.8733, allocations: 133.7 kB / 1.058 GB, free: 1.969 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.8747, allocations: 0.4978 MB / 1.059 GB, free: 1.961 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.8759, allocations: 387.1 kB / 1.059 GB, free: 1.949 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003369/0.8793, allocations: 3.493 MB / 1.063 GB, free: 1.938 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/0.8808, allocations: 0.7579 MB / 1.063 GB, free: 1.832 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002398/0.8832, allocations: 0.8737 MB / 1.064 GB, free: 1.828 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00182/0.8851, allocations: 0.7344 MB / 1.065 GB, free: 1.828 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.8852, allocations: 32.44 kB / 1.065 GB, free: 1.828 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002405/0.8876, allocations: 0.797 MB / 1.066 GB, free: 1.824 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005533/0.8882, allocations: 291.3 kB / 1.066 GB, free: 1.82 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001554/0.8898, allocations: 0.5383 MB / 1.067 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003416/0.8932, allocations: 1.402 MB / 1.068 GB, free: 17.68 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.8932, allocations: 0.8438 kB / 1.068 GB, free: 17.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.298e-06/0.8933, allocations: 0.6094 kB / 1.068 GB, free: 17.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.751e-05/0.8933, allocations: 0 / 1.068 GB, free: 17.68 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.00341/0.8967, allocations: 1.299 MB / 1.069 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.8968, allocations: 11.75 kB / 1.069 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002129/0.897, allocations: 91.77 kB / 1.069 GB, free: 16.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009739/0.898, allocations: 189.2 kB / 1.069 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0021/0.9001, allocations: 0.8274 MB / 1.07 GB, free: 16.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.542e-05/0.9002, allocations: 44.22 kB / 1.07 GB, free: 16.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.9003, allocations: 57.69 kB / 1.07 GB, free: 16.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.9019, allocations: 0.8121 MB / 1.071 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.9019, allocations: 1.594 kB / 1.071 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.435e-05/0.902, allocations: 22.84 kB / 1.071 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/0.902, allocations: 21.36 kB / 1.071 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.9033, allocations: 0.5403 MB / 1.072 GB, free: 16.17 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.005591/0.9089, allocations: 4.613 MB / 1.076 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007647/0.9097, allocations: 433.1 kB / 1.077 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003794/0.9101, allocations: 258.4 kB / 1.077 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003476/0.9104, allocations: 191.2 kB / 1.077 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005252/0.911, allocations: 308.8 kB / 1.077 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 2.735e-06/0.911, allocations: 1.438 kB / 1.077 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31): time 0.004329/0.9153, allocations: 1.354 MB / 1.079 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/0.9154, allocations: 85.52 kB / 1.079 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002106/0.9175, allocations: 1.126 MB / 1.08 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.9177, allocations: 38.42 kB / 1.08 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004684/0.9182, allocations: 494.4 kB / 1.08 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.9183, allocations: 109.1 kB / 1.08 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.9183, allocations: 7.438 kB / 1.08 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.9185, allocations: 330.4 kB / 1.081 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004089/0.9189, allocations: 211.4 kB / 1.081 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007231/0.9196, allocations: 0.5257 MB / 1.082 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.9207, allocations: 0.6481 MB / 1.082 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.9207, allocations: 1.594 kB / 1.082 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002572/0.9233, allocations: 1.075 MB / 1.083 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002248/0.9235, allocations: 267.2 kB / 1.083 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.9235, allocations: 5.938 kB / 1.083 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/0.925, allocations: 380 kB / 1.084 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.9253, allocations: 65.89 kB / 1.084 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.9264, allocations: 1.004 MB / 1.085 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.9277, allocations: 113.4 kB / 1.085 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.424e-05/0.9278, allocations: 21.94 kB / 1.085 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.9278, allocations: 3.719 kB / 1.085 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001497/0.9293, allocations: 0.7361 MB / 1.086 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.9294, allocations: 6.438 kB / 1.086 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005429/0.9299, allocations: 212.8 kB / 1.086 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.9301, allocations: 63.62 kB / 1.086 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003582/0.9337, allocations: 3.125 MB / 1.089 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.9349, allocations: 101 kB / 1.089 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-05/0.935, allocations: 23.81 kB / 1.089 GB, free: 8.008 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0009141/0.9359, allocations: 467.3 kB / 1.09 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003315/0.9363, allocations: 99.16 kB / 1.09 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/0.9378, allocations: 0.732 MB / 1.09 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.9378, allocations: 3.25 kB / 1.09 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.9378, allocations: 5.812 kB / 1.09 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.9378, allocations: 3.281 kB / 1.09 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003205/0.941, allocations: 1.609 MB / 1.092 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.9411, allocations: 0 / 1.092 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.9412, allocations: 31.16 kB / 1.092 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004426/0.9417, allocations: 220.8 kB / 1.092 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.9417, allocations: 12.34 kB / 1.092 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008252/0.9425, allocations: 0.9746 MB / 1.093 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.9426, allocations: 7.531 kB / 1.093 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.9438, allocations: 0.8474 MB / 1.094 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005817/0.9444, allocations: 221.8 kB / 1.094 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003004/0.9447, allocations: 7.953 kB / 1.094 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007323/0.9455, allocations: 62.89 kB / 1.094 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.9456, allocations: 29.33 kB / 1.094 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.9456, allocations: 13.5 kB / 1.094 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00139/0.947, allocations: 0.7987 MB / 1.095 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.947, allocations: 4 kB / 1.095 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001855/0.9489, allocations: 447.5 kB / 1.096 GB, free: 6 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 (12): * Single equations (assignments): 9 * 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,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001706/0.9506, allocations: 1.375 MB / 1.097 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001941/0.9525, allocations: 1.086 MB / 1.098 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.9526, allocations: 0 / 1.098 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005143/0.9531, allocations: 245.1 kB / 1.098 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002966/0.9561, allocations: 453.8 kB / 1.099 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02016/0.9762, allocations: 9.535 MB / 1.108 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/0.9774, allocations: 1.183 MB / 1.109 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001283/0.9787, allocations: 324.3 kB / 1.109 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005652/0.9793, allocations: 307.7 kB / 1.11 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of SimCode: time 1.142e-06/0.9793, allocations: 0.5 kB / 1.11 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5981/1.577, allocations: 27.48 MB / 1.137 GB, free: 4.383 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002661/1.578, allocations: 318.7 kB / 1.137 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.195/4.773, allocations: 4 kB / 1.137 GB, free: 3.988 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)