Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.588/2.588, allocations: 287.5 MB / 302.4 MB, free: 8.336 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.001356/0.001355, allocations: 185.5 kB / 371 MB, free: 10.84 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.191/2.191, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009194/0.0009188, allocations: 97.44 kB / 0.743 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005236/0.0005238, allocations: 13.5 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2498, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 1/1.25, allocations: 146.7 MB / 1.122 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.007986/1.258, allocations: 3.356 MB / 1.125 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007628/1.259, allocations: 13.66 kB / 1.125 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008442/1.26, allocations: 112.7 kB / 1.125 GB, free: 0.8945 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002233/1.262, allocations: 385.3 kB / 1.126 GB, free: 0.8008 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002244/1.264, allocations: 378.1 kB / 1.126 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005076/1.27, allocations: 3 MB / 1.129 GB, free: 320 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001774/1.271, allocations: 0.6909 MB / 1.129 GB, free: 176 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003127/1.275, allocations: 0.873 MB / 1.13 GB, free: 0 / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00259/1.277, allocations: 0.7282 MB / 1.131 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004048/1.278, allocations: 33.09 kB / 1.131 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003075/1.281, allocations: 0.5608 MB / 1.132 GB, free: 15.93 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009378/1.282, allocations: 288 kB / 1.132 GB, free: 15.89 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008456/1.283, allocations: 230.7 kB / 1.132 GB, free: 15.82 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002671/1.285, allocations: 1.021 MB / 1.133 GB, free: 15.72 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/1.285, allocations: 0 / 1.133 GB, free: 15.72 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.276e-06/1.285, allocations: 0 / 1.133 GB, free: 15.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.841e-05/1.286, allocations: 0 / 1.133 GB, free: 15.72 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.004265/1.29, allocations: 1.304 MB / 1.134 GB, free: 14.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/1.29, allocations: 9.469 kB / 1.134 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003669/1.29, allocations: 94.22 kB / 1.134 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/1.292, allocations: 186.7 kB / 1.135 GB, free: 14.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002907/1.295, allocations: 0.7994 MB / 1.135 GB, free: 14.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-05/1.295, allocations: 47.84 kB / 1.135 GB, free: 14.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/1.295, allocations: 58.72 kB / 1.136 GB, free: 14.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002398/1.297, allocations: 0.7906 MB / 1.136 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/1.297, allocations: 1.156 kB / 1.136 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.761e-05/1.298, allocations: 25.12 kB / 1.136 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/1.298, allocations: 17.41 kB / 1.136 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/1.299, allocations: 0.5333 MB / 1.137 GB, free: 14.2 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.008278/1.308, allocations: 4.612 MB / 1.141 GB, free: 10.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/1.309, allocations: 430.1 kB / 1.142 GB, free: 10.67 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007348/1.31, allocations: 257.1 kB / 1.142 GB, free: 10.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004613/1.311, allocations: 194 kB / 1.142 GB, free: 10.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009258/1.311, allocations: 306.1 kB / 1.143 GB, free: 10.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 3.587e-06/1.312, allocations: 0 / 1.143 GB, free: 10.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.007805/1.319, allocations: 1.342 MB / 1.144 GB, free: 9.711 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/1.32, allocations: 80.39 kB / 1.144 GB, free: 9.617 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003077/1.323, allocations: 1.115 MB / 1.145 GB, free: 9.262 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002593/1.323, allocations: 34.95 kB / 1.145 GB, free: 9.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008459/1.324, allocations: 0.4884 MB / 1.146 GB, free: 9.008 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/1.324, allocations: 111.7 kB / 1.146 GB, free: 8.934 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/1.324, allocations: 8.031 kB / 1.146 GB, free: 8.934 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.324, allocations: 322.3 kB / 1.146 GB, free: 8.625 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000789/1.325, allocations: 189.5 kB / 1.146 GB, free: 8.582 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/1.326, allocations: 0.5018 MB / 1.147 GB, free: 8.152 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008622/1.327, allocations: 285 kB / 1.147 GB, free: 8.062 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/1.327, allocations: 6.203 kB / 1.147 GB, free: 8.059 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.004231/1.332, allocations: 0.9862 MB / 1.148 GB, free: 7.676 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002928/1.332, allocations: 282.3 kB / 1.148 GB, free: 7.352 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/1.332, allocations: 5.5 kB / 1.148 GB, free: 7.352 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002525/1.334, allocations: 339.2 kB / 1.148 GB, free: 7.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/1.335, allocations: 63.75 kB / 1.148 GB, free: 7.219 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/1.337, allocations: 1.012 MB / 1.149 GB, free: 6.578 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/1.339, allocations: 104.4 kB / 1.15 GB, free: 6.531 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/1.339, allocations: 29.77 kB / 1.15 GB, free: 6.523 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/1.339, allocations: 9.297 kB / 1.15 GB, free: 6.52 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002607/1.342, allocations: 0.7338 MB / 1.15 GB, free: 6.285 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/1.342, allocations: 5.125 kB / 1.15 GB, free: 6.285 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/1.343, allocations: 215.8 kB / 1.151 GB, free: 6.227 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004831/1.343, allocations: 76.41 kB / 1.151 GB, free: 6.203 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006596/1.35, allocations: 3.1 MB / 1.154 GB, free: 4.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/1.351, allocations: 100.1 kB / 1.154 GB, free: 4.277 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/1.352, allocations: 21.06 kB / 1.154 GB, free: 4.277 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.001101/1.353, allocations: 470.3 kB / 1.154 GB, free: 4.008 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003994/1.353, allocations: 99.47 kB / 1.154 GB, free: 3.957 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002568/1.356, allocations: 0.7169 MB / 1.155 GB, free: 3.707 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/1.356, allocations: 4.094 kB / 1.155 GB, free: 3.707 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/1.356, allocations: 5.422 kB / 1.155 GB, free: 3.703 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/1.356, allocations: 3.984 kB / 1.155 GB, free: 3.699 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004966/1.361, allocations: 1.62 MB / 1.157 GB, free: 2.902 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/1.361, allocations: 2.344 kB / 1.157 GB, free: 2.902 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/1.361, allocations: 21.7 kB / 1.157 GB, free: 2.898 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008977/1.362, allocations: 223.1 kB / 1.157 GB, free: 2.832 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/1.362, allocations: 8.438 kB / 1.157 GB, free: 2.832 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/1.364, allocations: 0.9776 MB / 1.158 GB, free: 2.203 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-05/1.364, allocations: 6.469 kB / 1.158 GB, free: 2.199 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/1.366, allocations: 0.8521 MB / 1.159 GB, free: 1.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008588/1.367, allocations: 218.8 kB / 1.159 GB, free: 1.605 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/1.367, allocations: 14.73 kB / 1.159 GB, free: 1.602 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.369, allocations: 56.09 kB / 1.159 GB, free: 1.578 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/1.369, allocations: 46.16 kB / 1.159 GB, free: 1.551 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.572e-05/1.369, allocations: 12.78 kB / 1.159 GB, free: 1.547 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002103/1.371, allocations: 0.7884 MB / 1.16 GB, free: 1.285 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.12e-07/1.371, allocations: 0 / 1.16 GB, free: 1.285 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002625/1.374, allocations: 447 kB / 1.16 GB, free: 1.254 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.004485/1.378, allocations: 1.37 MB / 1.162 GB, free: 344 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005041/1.383, allocations: 1.059 MB / 1.163 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.979e-05/1.383, allocations: 0 / 1.163 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001628/1.385, allocations: 234.8 kB / 1.163 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00737/1.392, allocations: 468.5 kB / 1.163 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02341/1.416, allocations: 6.566 MB / 1.17 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/1.417, allocations: 1.185 MB / 1.171 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001732/1.419, allocations: 318.9 kB / 1.171 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007113/1.42, allocations: 308.1 kB / 1.171 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of SimCode: time 9.377e-06/1.42, allocations: 0 / 1.171 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09797/1.518, allocations: 28.01 MB / 1.199 GB, free: 4.828 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000492/1.518, allocations: 283.5 kB / 1.199 GB, free: 4.465 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.745/5.264, allocations: 2.969 kB / 1.199 GB, free: 4.465 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)