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.366/1.366, allocations: 252 MB / 267 MB, free: 10.96 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.001019/0.001019, allocations: 185.2 kB / 326.6 MB, free: 2.207 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.733/1.733, allocations: 205.4 MB / 0.5777 GB, free: 20.53 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.0007684/0.0007686, allocations: 82.44 kB / 0.6822 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003452, allocations: 8.844 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2328, allocations: 106.3 MB / 0.9003 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1668/0.3997, allocations: 146.9 MB / 1.044 GB, free: 12.9 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004798/0.4045, allocations: 3.421 MB / 1.047 GB, free: 9.469 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004063/0.405, allocations: 11.88 kB / 1.047 GB, free: 9.457 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.4055, allocations: 115.2 kB / 1.047 GB, free: 9.344 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.4067, allocations: 402.1 kB / 1.048 GB, free: 8.949 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.408, allocations: 360.6 kB / 1.048 GB, free: 8.602 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00309/0.4111, allocations: 2.997 MB / 1.051 GB, free: 5.598 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.4122, allocations: 0.6915 MB / 1.052 GB, free: 4.902 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00183/0.414, allocations: 0.8714 MB / 1.052 GB, free: 4.027 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008306/0.4149, allocations: 0.704 MB / 1.053 GB, free: 3.32 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.605e-05/0.415, allocations: 36 kB / 1.053 GB, free: 3.285 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.4163, allocations: 0.5536 MB / 1.054 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002761/0.4166, allocations: 278.9 kB / 1.054 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003047/0.4169, allocations: 237.1 kB / 1.054 GB, free: 2.219 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.418, allocations: 1.017 MB / 1.055 GB, free: 1.199 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.418, allocations: 4 kB / 1.055 GB, free: 1.195 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.529e-06/0.418, allocations: 0 / 1.055 GB, free: 1.195 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.4181, allocations: 3.938 kB / 1.055 GB, free: 1.191 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.4592/0.8772, allocations: 1.296 MB / 1.056 GB, free: 157.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.8773, allocations: 12.44 kB / 1.056 GB, free: 157.5 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003071/0.8776, allocations: 96.02 kB / 1.056 GB, free: 157.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.8787, allocations: 188.9 kB / 1.057 GB, free: 157.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/0.8806, allocations: 0.8013 MB / 1.057 GB, free: 157.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.8807, allocations: 45.69 kB / 1.057 GB, free: 157.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.771e-05/0.8807, allocations: 62.38 kB / 1.058 GB, free: 157.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.8819, allocations: 0.7954 MB / 1.058 GB, free: 156.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.8819, allocations: 3.062 kB / 1.058 GB, free: 156.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.964e-05/0.882, allocations: 25.03 kB / 1.058 GB, free: 156.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.882, allocations: 14.59 kB / 1.058 GB, free: 156.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008227/0.8828, allocations: 0.5397 MB / 1.059 GB, free: 156.9 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.003577/0.8864, allocations: 4.605 MB / 1.063 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007263/0.8872, allocations: 422.8 kB / 1.064 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003806/0.8875, allocations: 251.9 kB / 1.064 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/0.8878, allocations: 195.3 kB / 1.064 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004978/0.8883, allocations: 311.8 kB / 1.065 GB, free: 153.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 1.994e-06/0.8883, allocations: 0 / 1.065 GB, free: 153.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.004008/0.8924, allocations: 1.336 MB / 1.066 GB, free: 152.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.8924, allocations: 80.77 kB / 1.066 GB, free: 152.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.8938, allocations: 1.117 MB / 1.067 GB, free: 152.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/0.8939, allocations: 37.11 kB / 1.067 GB, free: 152.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003829/0.8943, allocations: 494.4 kB / 1.068 GB, free: 152.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.447e-05/0.8944, allocations: 109.9 kB / 1.068 GB, free: 152.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.8944, allocations: 9.531 kB / 1.068 GB, free: 152.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.449e-05/0.8945, allocations: 325.8 kB / 1.068 GB, free: 152 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004089/0.8949, allocations: 189.3 kB / 1.068 GB, free: 152 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006166/0.8955, allocations: 0.4976 MB / 1.069 GB, free: 151.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005299/0.8961, allocations: 291.1 kB / 1.069 GB, free: 151.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.8961, allocations: 6.438 kB / 1.069 GB, free: 151.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002582/0.8987, allocations: 0.984 MB / 1.07 GB, free: 151.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001359/0.8988, allocations: 275.3 kB / 1.07 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.8989, allocations: 5 kB / 1.07 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/0.9005, allocations: 348.2 kB / 1.07 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.9007, allocations: 64.36 kB / 1.071 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.9018, allocations: 1.002 MB / 1.071 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008639/0.9027, allocations: 106.1 kB / 1.072 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.016e-05/0.9028, allocations: 29.14 kB / 1.072 GB, free: 150.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.9028, allocations: 3.875 kB / 1.072 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001642/0.9045, allocations: 0.738 MB / 1.072 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.9045, allocations: 8.203 kB / 1.072 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006747/0.9052, allocations: 213.9 kB / 1.073 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.9054, allocations: 67.34 kB / 1.073 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004061/0.9095, allocations: 3.114 MB / 1.076 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009492/0.9105, allocations: 92.52 kB / 1.076 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-05/0.9106, allocations: 22.56 kB / 1.076 GB, free: 148.8 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_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 (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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0008346/0.9114, allocations: 468.1 kB / 1.076 GB, free: 148.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/0.9117, allocations: 104.1 kB / 1.076 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.9133, allocations: 0.7131 MB / 1.077 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.9133, allocations: 4.062 kB / 1.077 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.9133, allocations: 1.438 kB / 1.077 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.9133, allocations: 5.969 kB / 1.077 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003043/0.9164, allocations: 1.62 MB / 1.079 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.9164, allocations: 2.75 kB / 1.079 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.9165, allocations: 23.39 kB / 1.079 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004968/0.9171, allocations: 233.2 kB / 1.079 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.9171, allocations: 7.312 kB / 1.079 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008462/0.9179, allocations: 0.9824 MB / 1.08 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.918, allocations: 1.375 kB / 1.08 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.9196, allocations: 0.8444 MB / 1.081 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006484/0.9202, allocations: 224.2 kB / 1.081 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003264/0.9206, allocations: 8.531 kB / 1.081 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007999/0.9214, allocations: 64.5 kB / 1.081 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.9215, allocations: 24.44 kB / 1.081 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/0.9215, allocations: 20 kB / 1.081 GB, free: 146.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001726/0.9233, allocations: 0.7874 MB / 1.082 GB, free: 146.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9233, allocations: 0 / 1.082 GB, free: 146.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002443/0.9257, allocations: 445.2 kB / 1.082 GB, free: 146.1 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_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 (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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001752/0.9275, allocations: 1.375 MB / 1.083 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00214/0.9297, allocations: 1.054 MB / 1.085 GB, free: 144.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.9297, allocations: 0 / 1.085 GB, free: 144.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005272/0.9302, allocations: 239.8 kB / 1.085 GB, free: 144.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002383/0.9326, allocations: 464.9 kB / 1.085 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/0.9461, allocations: 6.572 MB / 1.092 GB, free: 139.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006238/0.9468, allocations: 1.184 MB / 1.093 GB, free: 137.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001067/0.9479, allocations: 320 kB / 1.093 GB, free: 137.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004715/0.9484, allocations: 308.3 kB / 1.093 GB, free: 137.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/0.9484, allocations: 0 / 1.093 GB, free: 137.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05352/1.002, allocations: 28.03 MB / 1.121 GB, free: 109.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/1.002, allocations: 287.1 kB / 1.121 GB, free: 109.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.779/3.781, allocations: 0 / 1.121 GB, free: 109.3 MB / 0.698 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)