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 1.778/1.778, allocations: 287.4 MB / 302.6 MB, free: 8.07 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.001185/0.001185, allocations: 196.5 kB / 371.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.4 MB / 0.6298 GB, free: 10.45 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.0008082/0.0008082, allocations: 84.55 kB / 0.7431 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003909, allocations: 16.19 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1916, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.5517/0.7433, allocations: 146.7 MB / 1.122 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002894/0.7462, allocations: 1.643 MB / 1.124 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002696/0.7465, allocations: 7.969 kB / 1.124 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004745/0.747, allocations: 106 kB / 1.124 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.7482, allocations: 394.5 kB / 1.124 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009129/0.7491, allocations: 339 kB / 1.124 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002468/0.7516, allocations: 3.019 MB / 1.127 GB, free: 0.5039 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007224/0.7523, allocations: 0.7399 MB / 1.128 GB, free: 356 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.7535, allocations: 0.8668 MB / 1.129 GB, free: 160 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006632/0.7541, allocations: 0.6994 MB / 1.13 GB, free: 8 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.726e-05/0.7542, allocations: 36.97 kB / 1.13 GB, free: 8 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.7553, allocations: 0.5625 MB / 1.13 GB, free: 15.96 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002337/0.7556, allocations: 278.8 kB / 1.131 GB, free: 15.92 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002185/0.7558, allocations: 230.8 kB / 1.131 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008649/0.7567, allocations: 1.018 MB / 1.132 GB, free: 15.76 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.7567, allocations: 2.312 kB / 1.132 GB, free: 15.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7567, allocations: 3.188 kB / 1.132 GB, free: 15.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.7567, allocations: 0 / 1.132 GB, free: 15.76 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.001711/0.7584, allocations: 1.287 MB / 1.133 GB, free: 14.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.7585, allocations: 11.19 kB / 1.133 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.566e-05/0.7586, allocations: 95.25 kB / 1.133 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006077/0.7592, allocations: 189 kB / 1.133 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.7603, allocations: 0.835 MB / 1.134 GB, free: 14.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.7604, allocations: 45.36 kB / 1.134 GB, free: 14.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.731e-05/0.7604, allocations: 65 kB / 1.134 GB, free: 14.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.7615, allocations: 0.7875 MB / 1.135 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.7615, allocations: 2.594 kB / 1.135 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/0.7616, allocations: 23.03 kB / 1.135 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.7616, allocations: 21.41 kB / 1.135 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008189/0.7624, allocations: 0.5351 MB / 1.136 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.003589/0.766, allocations: 4.616 MB / 1.14 GB, free: 10.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006997/0.7667, allocations: 420.3 kB / 1.14 GB, free: 10.67 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003636/0.7671, allocations: 251.2 kB / 1.141 GB, free: 10.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002714/0.7674, allocations: 194.8 kB / 1.141 GB, free: 10.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004625/0.7679, allocations: 298.4 kB / 1.141 GB, free: 10.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.886e-06/0.7679, allocations: 1.281 kB / 1.141 GB, free: 10.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001338/0.7692, allocations: 0.6485 MB / 1.142 GB, free: 10.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.7693, allocations: 83.69 kB / 1.142 GB, free: 10.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.7706, allocations: 1.113 MB / 1.143 GB, free: 9.797 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.7706, allocations: 35.14 kB / 1.143 GB, free: 9.766 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.771, allocations: 494.5 kB / 1.143 GB, free: 9.547 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.118e-05/0.7711, allocations: 112.3 kB / 1.144 GB, free: 9.469 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.975e-05/0.7711, allocations: 11.69 kB / 1.144 GB, free: 9.465 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.7712, allocations: 327.4 kB / 1.144 GB, free: 9.152 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003168/0.7715, allocations: 183.1 kB / 1.144 GB, free: 9.113 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005288/0.7721, allocations: 0.5019 MB / 1.145 GB, free: 8.688 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007432/0.7728, allocations: 0.5947 MB / 1.145 GB, free: 8.352 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.7728, allocations: 1.594 kB / 1.145 GB, free: 8.352 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00107/0.7739, allocations: 0.6769 MB / 1.146 GB, free: 8.109 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001603/0.7741, allocations: 275 kB / 1.146 GB, free: 7.793 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.7741, allocations: 5.156 kB / 1.146 GB, free: 7.793 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.7741, allocations: 12.09 kB / 1.146 GB, free: 7.789 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.7746, allocations: 118.5 kB / 1.146 GB, free: 7.758 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.058e-05/0.7746, allocations: 11.69 kB / 1.146 GB, free: 7.754 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007356/0.7753, allocations: 103.9 kB / 1.146 GB, free: 7.707 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/0.7754, allocations: 24.12 kB / 1.146 GB, free: 7.707 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.843e-06/0.7754, allocations: 5.094 kB / 1.146 GB, free: 7.707 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008189/0.7762, allocations: 0.535 MB / 1.147 GB, free: 7.559 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7763, allocations: 5.719 kB / 1.147 GB, free: 7.559 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.7763, allocations: 16.42 kB / 1.147 GB, free: 7.551 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.7766, allocations: 105.4 kB / 1.147 GB, free: 7.527 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.7766, allocations: 12.25 kB / 1.147 GB, free: 7.523 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006024/0.7773, allocations: 95.36 kB / 1.147 GB, free: 7.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.7773, allocations: 23.88 kB / 1.147 GB, free: 7.48 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.000475/0.7778, allocations: 474.7 kB / 1.148 GB, free: 7.207 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.7779, allocations: 101.8 kB / 1.148 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008012/0.7787, allocations: 0.494 MB / 1.148 GB, free: 7.004 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.7787, allocations: 7.344 kB / 1.148 GB, free: 7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.7787, allocations: 1.031 kB / 1.148 GB, free: 7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.7787, allocations: 5.844 kB / 1.148 GB, free: 6.996 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.7806, allocations: 1.404 MB / 1.149 GB, free: 6.289 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.7806, allocations: 2.281 kB / 1.149 GB, free: 6.289 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.7808, allocations: 64.64 kB / 1.15 GB, free: 6.273 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.7809, allocations: 12.22 kB / 1.15 GB, free: 6.266 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.7809, allocations: 7.062 kB / 1.15 GB, free: 6.266 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.7809, allocations: 3.312 kB / 1.15 GB, free: 6.266 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7809, allocations: 2.125 kB / 1.15 GB, free: 6.266 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007962/0.7817, allocations: 0.6211 MB / 1.15 GB, free: 5.934 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000283/0.782, allocations: 219.2 kB / 1.15 GB, free: 5.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.7821, allocations: 14.44 kB / 1.15 GB, free: 5.766 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005427/0.7827, allocations: 67.55 kB / 1.15 GB, free: 5.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.084e-05/0.7828, allocations: 26.06 kB / 1.151 GB, free: 5.723 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.7828, allocations: 12.7 kB / 1.151 GB, free: 5.719 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001015/0.7838, allocations: 0.781 MB / 1.151 GB, free: 5.461 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7838, allocations: 0 / 1.151 GB, free: 5.461 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001131/0.785, allocations: 418.9 kB / 1.152 GB, free: 5.422 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.001394/0.7864, allocations: 1.221 MB / 1.153 GB, free: 4.555 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.7877, allocations: 0.8001 MB / 1.154 GB, free: 4.266 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7878, allocations: 0 / 1.154 GB, free: 4.266 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003942/0.7882, allocations: 205.4 kB / 1.154 GB, free: 4.223 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/0.7905, allocations: 460.6 kB / 1.154 GB, free: 4.062 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.8012, allocations: 6.244 MB / 1.16 GB, free: 1.156 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006619/0.8019, allocations: 1.181 MB / 1.162 GB, free: 284 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001156/0.8031, allocations: 418.7 kB / 1.162 GB, free: 96 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000377/0.8035, allocations: 328.6 kB / 1.162 GB, free: 56 kB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/0.8035, allocations: 0 / 1.162 GB, free: 56 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1718/0.9753, allocations: 25.55 MB / 1.187 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.9756, allocations: 247.6 kB / 1.187 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.197/4.172, allocations: 0 / 1.187 GB, free: 14.29 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)