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.429/1.429, allocations: 251.5 MB / 266.7 MB, free: 11.03 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.0009769/0.0009769, allocations: 172 kB / 325.8 MB, free: 2.68 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.431/1.431, allocations: 205 MB / 0.576 GB, free: 20.95 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.0006871/0.0006871, allocations: 74.88 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003965, allocations: 14.36 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1601, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1455/0.3057, allocations: 159.2 MB / 1.052 GB, free: 4.297 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004826/0.3105, allocations: 3.689 MB / 1.055 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003634/0.3109, allocations: 11.88 kB / 1.055 GB, free: 0.582 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005502/0.3115, allocations: 127.2 kB / 1.055 GB, free: 468 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.3679/0.6794, allocations: 0.4955 MB / 1.056 GB, free: 2.172 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.6807, allocations: 387.5 kB / 1.056 GB, free: 2.172 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002955/0.6837, allocations: 3.487 MB / 1.06 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.6851, allocations: 0.7536 MB / 1.06 GB, free: 2.062 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002149/0.6872, allocations: 0.8758 MB / 1.061 GB, free: 2.062 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.6886, allocations: 0.7341 MB / 1.062 GB, free: 2.062 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002995/0.689, allocations: 34.31 kB / 1.062 GB, free: 2.062 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/0.6912, allocations: 0.8089 MB / 1.063 GB, free: 2.059 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004557/0.6917, allocations: 278.5 kB / 1.063 GB, free: 2.059 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008395/0.6925, allocations: 0.5166 MB / 1.064 GB, free: 2.059 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.6945, allocations: 1.401 MB / 1.065 GB, free: 1.988 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6945, allocations: 1.859 kB / 1.065 GB, free: 1.988 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6945, allocations: 0 / 1.065 GB, free: 1.988 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.6945, allocations: 0.8438 kB / 1.065 GB, free: 1.988 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.002145/0.6967, allocations: 1.293 MB / 1.066 GB, free: 17.18 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.6967, allocations: 10.22 kB / 1.066 GB, free: 17.18 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001212/0.6968, allocations: 92.92 kB / 1.066 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007698/0.6976, allocations: 190.3 kB / 1.066 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.699, allocations: 0.8293 MB / 1.067 GB, free: 16.72 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.454e-05/0.6991, allocations: 50.28 kB / 1.067 GB, free: 16.72 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.641e-05/0.6992, allocations: 59.61 kB / 1.067 GB, free: 16.72 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.7005, allocations: 0.8049 MB / 1.068 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.7005, allocations: 6.312 kB / 1.068 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.403e-05/0.7006, allocations: 29.84 kB / 1.068 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.7006, allocations: 13.84 kB / 1.068 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009382/0.7015, allocations: 0.5414 MB / 1.069 GB, free: 16.48 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.004189/0.7057, allocations: 4.609 MB / 1.073 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007288/0.7065, allocations: 432.9 kB / 1.074 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003718/0.7069, allocations: 253.7 kB / 1.074 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002861/0.7071, allocations: 189.9 kB / 1.074 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004774/0.7076, allocations: 311.5 kB / 1.074 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 2.104e-06/0.7077, allocations: 0 / 1.074 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31): time 0.00385/0.7115, allocations: 1.358 MB / 1.076 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.7116, allocations: 85.8 kB / 1.076 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.713, allocations: 1.125 MB / 1.077 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.055e-05/0.7131, allocations: 37.52 kB / 1.077 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/0.7135, allocations: 498.3 kB / 1.077 GB, free: 12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.015e-05/0.7135, allocations: 105.8 kB / 1.077 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.7136, allocations: 41.27 kB / 1.078 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.7137, allocations: 326.8 kB / 1.078 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.7141, allocations: 218.3 kB / 1.078 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005236/0.7146, allocations: 0.5245 MB / 1.079 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007693/0.7154, allocations: 0.6478 MB / 1.079 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.7154, allocations: 3.344 kB / 1.079 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002267/0.7177, allocations: 1.071 MB / 1.08 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000164/0.7179, allocations: 268.7 kB / 1.08 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.7179, allocations: 4.75 kB / 1.08 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001381/0.7193, allocations: 382 kB / 1.081 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.7195, allocations: 66 kB / 1.081 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009928/0.7205, allocations: 1.017 MB / 1.082 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009068/0.7214, allocations: 106.4 kB / 1.082 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.568e-05/0.7215, allocations: 26.16 kB / 1.082 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.7215, allocations: 6.875 kB / 1.082 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001292/0.7228, allocations: 0.7312 MB / 1.083 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.7228, allocations: 5.25 kB / 1.083 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004951/0.7233, allocations: 214.6 kB / 1.083 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.7235, allocations: 66.52 kB / 1.083 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003208/0.7267, allocations: 3.113 MB / 1.086 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009905/0.7277, allocations: 103.3 kB / 1.086 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.7278, allocations: 23.06 kB / 1.086 GB, free: 8.316 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * 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.0008749/0.7287, allocations: 474.2 kB / 1.087 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.7289, allocations: 99.34 kB / 1.087 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.7301, allocations: 0.7179 MB / 1.087 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.7301, allocations: 3.344 kB / 1.087 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.7301, allocations: 3.938 kB / 1.087 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.7301, allocations: 6.406 kB / 1.087 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/0.7324, allocations: 1.621 MB / 1.089 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.7324, allocations: 4.797 kB / 1.089 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.7325, allocations: 31.8 kB / 1.089 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004278/0.7329, allocations: 215.9 kB / 1.089 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.733, allocations: 16.59 kB / 1.089 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008207/0.7338, allocations: 0.9806 MB / 1.09 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.7338, allocations: 2.906 kB / 1.09 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.7349, allocations: 0.839 MB / 1.091 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003783/0.7353, allocations: 212.7 kB / 1.091 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.7355, allocations: 9.031 kB / 1.091 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005103/0.736, allocations: 55.48 kB / 1.091 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.164e-05/0.7361, allocations: 32.03 kB / 1.091 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.7361, allocations: 13 kB / 1.091 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00102/0.7371, allocations: 0.8004 MB / 1.092 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7371, allocations: 0 / 1.092 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001492/0.7386, allocations: 458.7 kB / 1.093 GB, free: 6.301 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.001747/0.7404, allocations: 1.368 MB / 1.094 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001832/0.7422, allocations: 1.094 MB / 1.095 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.7423, allocations: 0 / 1.095 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005143/0.7428, allocations: 239.9 kB / 1.095 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.745, allocations: 451.9 kB / 1.096 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/0.7595, allocations: 9.515 MB / 1.105 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006394/0.7602, allocations: 1.186 MB / 1.106 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009475/0.7611, allocations: 321.3 kB / 1.106 GB, free: 1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003669/0.7615, allocations: 306.2 kB / 1.107 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of SimCode: time 8.12e-07/0.7615, allocations: 4.469 kB / 1.107 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2282/0.9897, allocations: 27.49 MB / 1.134 GB, free: 6.57 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003722/0.9901, allocations: 310.8 kB / 1.134 GB, free: 6.188 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.921/3.911, allocations: 4.062 kB / 1.134 GB, free: 6.184 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)