Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 190.7 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.766/2.766, allocations: 472.6 MB / 0.7448 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 66.06 kB / 0.9115 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3234, allocations: 159.9 MB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1715/0.495, allocations: 159.4 MB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003357/0.4984, allocations: 1.748 MB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005905/0.499, allocations: 7.938 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007031/0.4998, allocations: 147.2 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.5014, allocations: 0.4941 MB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.5026, allocations: 358.6 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003052/0.5057, allocations: 2.542 MB / 1.229 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.5071, allocations: 0.8903 MB / 1.229 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/0.5091, allocations: 1.063 MB / 1.23 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/0.5103, allocations: 0.7507 MB / 1.231 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002234/0.5105, allocations: 52 kB / 1.231 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.5122, allocations: 0.76 MB / 1.232 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004539/0.5126, allocations: 306.9 kB / 1.232 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.5137, allocations: 0.5402 MB / 1.233 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002278/0.5159, allocations: 1.413 MB / 1.234 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.516, allocations: 8 kB / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.817e-06/0.516, allocations: 0 / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.567e-05/0.516, allocations: 3.938 kB / 1.234 GB, free: 15.59 MB / 0.9981 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.003006/0.5191, allocations: 1.447 MB / 1.236 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.5191, allocations: 12.03 kB / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008912/0.52, allocations: 182.5 kB / 1.236 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.5215, allocations: 0.7983 MB / 1.237 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.5216, allocations: 45 kB / 1.237 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.31e-05/0.5217, allocations: 56 kB / 1.237 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.523, allocations: 0.7926 MB / 1.237 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.523, allocations: 7.938 kB / 1.237 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.296e-05/0.5231, allocations: 20 kB / 1.237 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.5231, allocations: 19.98 kB / 1.237 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009694/0.524, allocations: 0.5422 MB / 1.238 GB, free: 11.48 MB / 0.9981 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.004308/0.5284, allocations: 4.583 MB / 1.242 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007344/0.5291, allocations: 426.3 kB / 1.243 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003868/0.5295, allocations: 240.7 kB / 1.243 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003202/0.5299, allocations: 198.2 kB / 1.243 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004975/0.5304, allocations: 293.6 kB / 1.244 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.886e-06/0.5304, allocations: 0 / 1.244 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001421/0.5318, allocations: 0.6374 MB / 1.244 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.5319, allocations: 85.11 kB / 1.244 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.5333, allocations: 1.11 MB / 1.245 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/0.5334, allocations: 37.64 kB / 1.245 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004011/0.5338, allocations: 0.4884 MB / 1.246 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.457e-05/0.5339, allocations: 102.5 kB / 1.246 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.5341, allocations: 114 kB / 1.246 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.5342, allocations: 329.9 kB / 1.246 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003895/0.5346, allocations: 214.4 kB / 1.247 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006457/0.5353, allocations: 0.5135 MB / 1.247 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009012/0.5362, allocations: 0.6236 MB / 1.248 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/0.5362, allocations: 4 kB / 1.248 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001239/0.5375, allocations: 0.7283 MB / 1.248 GB, free: 44 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.6355/1.173, allocations: 41.78 kB / 1.248 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4e-05/1.173, allocations: 5.344 kB / 1.248 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.708e-05/1.173, allocations: 7.906 kB / 1.248 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006529/1.174, allocations: 105.2 kB / 1.249 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/1.174, allocations: 9.188 kB / 1.249 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/1.175, allocations: 95.36 kB / 1.249 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.934e-05/1.175, allocations: 29.05 kB / 1.249 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001061/1.176, allocations: 0.4962 MB / 1.249 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005989/1.177, allocations: 496.3 kB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008026/1.178, allocations: 0.554 MB / 1.25 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.137e-06/1.178, allocations: 4.438 kB / 1.25 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001387/1.179, allocations: 0.6388 MB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/1.179, allocations: 35.11 kB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/1.179, allocations: 6.078 kB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/1.179, allocations: 11.83 kB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/1.179, allocations: 103.5 kB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/1.179, allocations: 17.06 kB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007277/1.18, allocations: 89.44 kB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/1.18, allocations: 22.88 kB / 1.251 GB, free: 185 MB / 0.9981 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002008/1.18, allocations: 217.4 kB / 1.251 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/1.181, allocations: 103.5 kB / 1.251 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/1.182, allocations: 498.4 kB / 1.252 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/1.182, allocations: 4.312 kB / 1.252 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.182, allocations: 0.7031 kB / 1.252 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/1.182, allocations: 2.125 kB / 1.252 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/1.184, allocations: 1.392 MB / 1.253 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.184, allocations: 2.031 kB / 1.253 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/1.185, allocations: 62.03 kB / 1.253 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/1.185, allocations: 6.75 kB / 1.253 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/1.185, allocations: 8.188 kB / 1.253 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/1.185, allocations: 6.625 kB / 1.253 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/1.185, allocations: 2.75 kB / 1.253 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008819/1.186, allocations: 0.5985 MB / 1.254 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003017/1.186, allocations: 213.6 kB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/1.186, allocations: 8.25 kB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/1.186, allocations: 53.41 kB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/1.187, allocations: 25.44 kB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/1.187, allocations: 10.42 kB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001139/1.188, allocations: 0.7955 MB / 1.255 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.188, allocations: 3.938 kB / 1.255 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002118/1.19, allocations: 406.3 kB / 1.255 GB, free: 183.8 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007253/1.191, allocations: 179.5 kB / 1.256 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001829/1.192, allocations: 0.8635 MB / 1.256 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/1.192, allocations: 0 / 1.256 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003624/1.193, allocations: 206.4 kB / 1.257 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/1.195, allocations: 450 kB / 1.257 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/1.197, allocations: 2.031 MB / 1.259 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006321/1.198, allocations: 1.182 MB / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00117/1.199, allocations: 401 kB / 1.261 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/1.199, allocations: 75.12 kB / 1.261 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/1.199, allocations: 0 / 1.261 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.03581/1.235, allocations: 16.96 MB / 1.277 GB, free: 177.6 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)