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.451/1.451, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001248/0.001248, allocations: 167.2 kB / 326.5 MB, free: 2.254 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.943/1.943, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.001021/0.001021, allocations: 86.36 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005014/0.0005015, allocations: 14.03 kB / 0.7963 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2564, allocations: 106.3 MB / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1679/0.4244, allocations: 135.8 MB / 1.033 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004869/0.4294, allocations: 3.172 MB / 1.036 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003888/0.4298, allocations: 7.938 kB / 1.036 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007067/0.4305, allocations: 187.1 kB / 1.036 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.432, allocations: 0.5025 MB / 1.037 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.4335, allocations: 480.6 kB / 1.037 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001846/0.4353, allocations: 1.49 MB / 1.038 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009955/0.4363, allocations: 0.7111 MB / 1.039 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.4376, allocations: 0.7007 MB / 1.04 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006058/0.4382, allocations: 0.4939 MB / 1.04 GB, free: 496 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.796e-05/0.4383, allocations: 36 kB / 1.04 GB, free: 460 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000969/0.4393, allocations: 415.4 kB / 1.041 GB, free: 44 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002717/0.4395, allocations: 255.1 kB / 1.041 GB, free: 15.79 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002579/0.4398, allocations: 229.1 kB / 1.041 GB, free: 15.56 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.4408, allocations: 0.9707 MB / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.4408, allocations: 0 / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4408, allocations: 0 / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.4409, allocations: 0 / 1.042 GB, free: 14.59 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.002339/0.4432, allocations: 1.295 MB / 1.043 GB, free: 13.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.4433, allocations: 12.03 kB / 1.043 GB, free: 13.22 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001465/0.4434, allocations: 94.45 kB / 1.044 GB, free: 13.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007697/0.4442, allocations: 182.5 kB / 1.044 GB, free: 12.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.4458, allocations: 0.7924 MB / 1.044 GB, free: 12.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.487e-05/0.4458, allocations: 49 kB / 1.045 GB, free: 12.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.884e-05/0.4459, allocations: 56 kB / 1.045 GB, free: 11.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.4471, allocations: 0.7887 MB / 1.045 GB, free: 11.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.4472, allocations: 7.938 kB / 1.045 GB, free: 11.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-05/0.4472, allocations: 23.98 kB / 1.045 GB, free: 11.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.4473, allocations: 16 kB / 1.045 GB, free: 11.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009243/0.4482, allocations: 0.5422 MB / 1.046 GB, free: 10.53 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.004667/0.4529, allocations: 4.614 MB / 1.05 GB, free: 5.535 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007749/0.4537, allocations: 441.4 kB / 1.051 GB, free: 5.098 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.864e-05/0.4537, allocations: 11.98 kB / 1.051 GB, free: 5.086 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005293/0.4543, allocations: 306.2 kB / 1.051 GB, free: 4.766 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/0.4543, allocations: 0 / 1.051 GB, free: 4.766 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.003978/0.4583, allocations: 1.321 MB / 1.052 GB, free: 3.414 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/0.4584, allocations: 110.8 kB / 1.053 GB, free: 3.281 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.4599, allocations: 1.114 MB / 1.054 GB, free: 2.148 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.717e-05/0.4599, allocations: 41.7 kB / 1.054 GB, free: 2.102 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004497/0.4604, allocations: 492.1 kB / 1.054 GB, free: 1.613 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.4605, allocations: 114.5 kB / 1.054 GB, free: 1.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/0.4606, allocations: 8 kB / 1.054 GB, free: 1.492 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.4607, allocations: 322 kB / 1.055 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003703/0.4611, allocations: 184.7 kB / 1.055 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005943/0.4617, allocations: 0.494 MB / 1.055 GB, free: 372 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.4622, allocations: 297.6 kB / 1.056 GB, free: 68 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.4622, allocations: 0 / 1.056 GB, free: 68 kB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.5773/1.039, allocations: 0.9804 MB / 1.056 GB, free: 155.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005008/1.04, allocations: 2.128 MB / 1.059 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/1.04, allocations: 7.562 kB / 1.059 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/1.041, allocations: 334.1 kB / 1.059 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/1.042, allocations: 73.34 kB / 1.059 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009267/1.043, allocations: 1.015 MB / 1.06 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009125/1.043, allocations: 104.4 kB / 1.06 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/1.044, allocations: 21.22 kB / 1.06 GB, free: 152.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/1.044, allocations: 6.859 kB / 1.06 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00129/1.045, allocations: 0.7322 MB / 1.061 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.045, allocations: 6.734 kB / 1.061 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005166/1.045, allocations: 216.1 kB / 1.061 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/1.046, allocations: 61.59 kB / 1.061 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004051/1.05, allocations: 3.18 MB / 1.064 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/1.051, allocations: 99.55 kB / 1.064 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/1.051, allocations: 25.73 kB / 1.064 GB, free: 151.1 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.000887/1.052, allocations: 472 kB / 1.065 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/1.052, allocations: 101.6 kB / 1.065 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/1.053, allocations: 0.7005 MB / 1.066 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/1.053, allocations: 2.812 kB / 1.066 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/1.053, allocations: 3.953 kB / 1.066 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/1.053, allocations: 6.734 kB / 1.066 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/1.055, allocations: 1.094 MB / 1.067 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.055, allocations: 0 / 1.067 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/1.055, allocations: 30.39 kB / 1.067 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005655/1.056, allocations: 224 kB / 1.067 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/1.056, allocations: 8.484 kB / 1.067 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/1.057, allocations: 0.9837 MB / 1.068 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.057, allocations: 1.844 kB / 1.068 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/1.059, allocations: 0.85 MB / 1.069 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005098/1.059, allocations: 226.2 kB / 1.069 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/1.059, allocations: 9.172 kB / 1.069 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005046/1.06, allocations: 58.31 kB / 1.069 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/1.06, allocations: 30.95 kB / 1.069 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/1.06, allocations: 15.27 kB / 1.069 GB, free: 149.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001689/1.062, allocations: 0.7918 MB / 1.07 GB, free: 149.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.6e-07/1.062, allocations: 0 / 1.07 GB, free: 149.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001925/1.063, allocations: 450.7 kB / 1.07 GB, free: 149.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.002275/1.066, allocations: 1.863 MB / 1.072 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002869/1.069, allocations: 1.059 MB / 1.073 GB, free: 147.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/1.069, allocations: 0.6875 kB / 1.073 GB, free: 147.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006967/1.069, allocations: 245.8 kB / 1.073 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/1.072, allocations: 453.9 kB / 1.074 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/1.089, allocations: 9.885 MB / 1.083 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009742/1.09, allocations: 1.206 MB / 1.085 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001351/1.091, allocations: 324.2 kB / 1.085 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004003/1.092, allocations: 308.3 kB / 1.085 GB, free: 141.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.523e-06/1.092, allocations: 0 / 1.085 GB, free: 141.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05288/1.145, allocations: 28 MB / 1.112 GB, free: 116.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/1.145, allocations: 281.5 kB / 1.113 GB, free: 116.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.056/4.201, allocations: 0 / 1.113 GB, free: 116.4 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)