Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.74/2.74, allocations: 287.5 MB / 302.4 MB, free: 8.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001474, allocations: 182.3 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.232/2.232, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009521/0.0009518, allocations: 91.09 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006823/0.0006825, allocations: 11.58 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2495, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.9495/1.199, allocations: 146.7 MB / 1.122 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00456/1.204, allocations: 1.634 MB / 1.123 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005921/1.204, allocations: 10.86 kB / 1.123 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007339/1.205, allocations: 113.9 kB / 1.123 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00202/1.207, allocations: 391.2 kB / 1.124 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001957/1.209, allocations: 331.4 kB / 1.124 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004875/1.214, allocations: 2.989 MB / 1.127 GB, free: 404 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001612/1.216, allocations: 0.6898 MB / 1.128 GB, free: 268 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002796/1.219, allocations: 0.8645 MB / 1.129 GB, free: 72 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002314/1.221, allocations: 0.7117 MB / 1.129 GB, free: 0 / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003309/1.221, allocations: 36.77 kB / 1.129 GB, free: 0 / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002707/1.224, allocations: 0.5613 MB / 1.13 GB, free: 15.95 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008226/1.225, allocations: 274 kB / 1.13 GB, free: 15.9 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007605/1.226, allocations: 232.9 kB / 1.13 GB, free: 15.84 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002564/1.228, allocations: 1.019 MB / 1.131 GB, free: 15.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/1.228, allocations: 0 / 1.131 GB, free: 15.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.188e-06/1.228, allocations: 0 / 1.131 GB, free: 15.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.712e-05/1.228, allocations: 1.969 kB / 1.131 GB, free: 15.73 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003969/1.232, allocations: 1.305 MB / 1.133 GB, free: 14.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/1.232, allocations: 8.906 kB / 1.133 GB, free: 14.93 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003884/1.233, allocations: 92.83 kB / 1.133 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/1.234, allocations: 192.5 kB / 1.133 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002659/1.237, allocations: 0.793 MB / 1.134 GB, free: 14.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.448e-05/1.237, allocations: 45.84 kB / 1.134 GB, free: 14.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/1.237, allocations: 61.16 kB / 1.134 GB, free: 14.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/1.239, allocations: 0.7887 MB / 1.135 GB, free: 14.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/1.239, allocations: 6.719 kB / 1.135 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-05/1.239, allocations: 26.47 kB / 1.135 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/1.239, allocations: 15.97 kB / 1.135 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/1.241, allocations: 0.5423 MB / 1.135 GB, free: 14.21 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.007393/1.248, allocations: 4.606 MB / 1.14 GB, free: 10.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/1.25, allocations: 427 kB / 1.14 GB, free: 10.69 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000672/1.251, allocations: 251.3 kB / 1.14 GB, free: 10.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004442/1.251, allocations: 194 kB / 1.14 GB, free: 10.49 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008145/1.252, allocations: 297.2 kB / 1.141 GB, free: 10.42 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 5.731e-06/1.252, allocations: 3.984 kB / 1.141 GB, free: 10.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.002518/1.254, allocations: 0.6484 MB / 1.141 GB, free: 10.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/1.255, allocations: 85.25 kB / 1.141 GB, free: 10.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002703/1.257, allocations: 1.113 MB / 1.143 GB, free: 9.816 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001808/1.258, allocations: 36.3 kB / 1.143 GB, free: 9.785 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006257/1.258, allocations: 489.9 kB / 1.143 GB, free: 9.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000191/1.258, allocations: 113.5 kB / 1.143 GB, free: 9.492 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/1.258, allocations: 13.17 kB / 1.143 GB, free: 9.488 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.259, allocations: 321.5 kB / 1.143 GB, free: 9.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006565/1.259, allocations: 184.1 kB / 1.144 GB, free: 9.141 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009884/1.26, allocations: 0.4999 MB / 1.144 GB, free: 8.715 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008144/1.261, allocations: 298.8 kB / 1.144 GB, free: 8.613 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/1.261, allocations: 1.375 kB / 1.144 GB, free: 8.613 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002201/1.263, allocations: 0.6779 MB / 1.145 GB, free: 8.371 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002468/1.264, allocations: 277.8 kB / 1.145 GB, free: 8.051 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/1.264, allocations: 6.312 kB / 1.145 GB, free: 8.051 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/1.264, allocations: 8.656 kB / 1.145 GB, free: 8.051 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008796/1.265, allocations: 116.3 kB / 1.145 GB, free: 8.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.674e-05/1.265, allocations: 12.25 kB / 1.146 GB, free: 8.016 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/1.266, allocations: 100.7 kB / 1.146 GB, free: 7.969 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/1.266, allocations: 25.97 kB / 1.146 GB, free: 7.969 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/1.266, allocations: 4.812 kB / 1.146 GB, free: 7.969 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001643/1.268, allocations: 0.5359 MB / 1.146 GB, free: 7.816 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/1.268, allocations: 9.156 kB / 1.146 GB, free: 7.812 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/1.268, allocations: 12.08 kB / 1.146 GB, free: 7.812 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007787/1.269, allocations: 104.7 kB / 1.146 GB, free: 7.789 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/1.269, allocations: 12.31 kB / 1.146 GB, free: 7.785 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/1.27, allocations: 98.83 kB / 1.146 GB, free: 7.742 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.704e-05/1.271, allocations: 25.45 kB / 1.146 GB, free: 7.738 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 (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001091/1.272, allocations: 468.4 kB / 1.147 GB, free: 7.469 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003878/1.272, allocations: 102.6 kB / 1.147 GB, free: 7.414 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/1.274, allocations: 0.4997 MB / 1.147 GB, free: 7.262 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/1.274, allocations: 7.25 kB / 1.147 GB, free: 7.258 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/1.274, allocations: 5.047 kB / 1.147 GB, free: 7.254 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/1.274, allocations: 0 / 1.147 GB, free: 7.254 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003963/1.278, allocations: 1.402 MB / 1.149 GB, free: 6.547 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/1.278, allocations: 2.594 kB / 1.149 GB, free: 6.547 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005112/1.278, allocations: 64.92 kB / 1.149 GB, free: 6.531 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/1.278, allocations: 8.594 kB / 1.149 GB, free: 6.527 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/1.278, allocations: 7.938 kB / 1.149 GB, free: 6.527 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.308e-05/1.278, allocations: 6.938 kB / 1.149 GB, free: 6.523 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.278, allocations: 4.094 kB / 1.149 GB, free: 6.523 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/1.28, allocations: 0.6097 MB / 1.15 GB, free: 6.203 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007215/1.281, allocations: 228.5 kB / 1.15 GB, free: 6.027 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/1.281, allocations: 15.22 kB / 1.15 GB, free: 6.023 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009632/1.282, allocations: 54.47 kB / 1.15 GB, free: 6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/1.282, allocations: 31.72 kB / 1.15 GB, free: 5.988 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/1.282, allocations: 9.219 kB / 1.15 GB, free: 5.988 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001887/1.284, allocations: 0.7845 MB / 1.151 GB, free: 5.727 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.21e-07/1.284, allocations: 1.156 kB / 1.151 GB, free: 5.727 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002284/1.287, allocations: 414.3 kB / 1.151 GB, free: 5.691 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 (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002484/1.289, allocations: 1.229 MB / 1.152 GB, free: 4.812 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002444/1.292, allocations: 0.8015 MB / 1.153 GB, free: 4.523 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.292, allocations: 1.219 kB / 1.153 GB, free: 4.523 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006999/1.292, allocations: 210.8 kB / 1.153 GB, free: 4.473 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004313/1.297, allocations: 460.6 kB / 1.154 GB, free: 4.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02077/1.318, allocations: 6.237 MB / 1.16 GB, free: 1.422 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009961/1.319, allocations: 1.182 MB / 1.161 GB, free: 0.543 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002163/1.321, allocations: 418 kB / 1.161 GB, free: 372 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008463/1.322, allocations: 323.4 kB / 1.162 GB, free: 332 kB / 0.698 GB Notification: Performance of SimCode: time 1.393e-06/1.322, allocations: 0 / 1.162 GB, free: 332 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08427/1.406, allocations: 25.54 MB / 1.187 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003655/1.406, allocations: 255.5 kB / 1.187 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.576/4.982, allocations: 0 / 1.187 GB, free: 14.72 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)