Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.783/2.783, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 64.81 kB / 0.912 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3139, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1797/0.4937, allocations: 161.6 MB / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004973/0.4987, allocations: 3.611 MB / 1.23 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003697/0.4991, allocations: 11.94 kB / 1.23 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005623/0.4997, allocations: 166.9 kB / 1.23 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.5011, allocations: 0.5211 MB / 1.23 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.5023, allocations: 437.5 kB / 1.231 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002545/0.5048, allocations: 2.535 MB / 1.233 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.5061, allocations: 0.941 MB / 1.234 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.5079, allocations: 1.02 MB / 1.235 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.5089, allocations: 0.7039 MB / 1.236 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002002/0.5091, allocations: 56 kB / 1.236 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.5106, allocations: 0.7406 MB / 1.236 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003642/0.511, allocations: 310.9 kB / 1.237 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008549/0.5119, allocations: 0.5439 MB / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.5136, allocations: 1.379 MB / 1.239 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.5136, allocations: 4 kB / 1.239 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.517e-06/0.5136, allocations: 4 kB / 1.239 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.245e-05/0.5136, allocations: 3.938 kB / 1.239 GB, free: 11.15 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002384/0.516, allocations: 1.451 MB / 1.24 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.5161, allocations: 12.02 kB / 1.24 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008395/0.5169, allocations: 190.4 kB / 1.24 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.5181, allocations: 0.7868 MB / 1.241 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.5182, allocations: 49 kB / 1.241 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.122e-05/0.5183, allocations: 63.98 kB / 1.241 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.5196, allocations: 0.7848 MB / 1.242 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.5196, allocations: 11.94 kB / 1.242 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.307e-05/0.5197, allocations: 23.94 kB / 1.242 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.5197, allocations: 16 kB / 1.242 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009131/0.5206, allocations: 0.5305 MB / 1.242 GB, free: 7.043 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.003864/0.5245, allocations: 4.61 MB / 1.247 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007078/0.5252, allocations: 419.4 kB / 1.247 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003793/0.5256, allocations: 249.3 kB / 1.248 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002824/0.5259, allocations: 198.2 kB / 1.248 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004906/0.5264, allocations: 289.1 kB / 1.248 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 1.873e-06/0.5264, allocations: 3.938 kB / 1.248 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.5537/1.08, allocations: 1.634 MB / 1.25 GB, free: 186 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/1.08, allocations: 85.31 kB / 1.25 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003039/1.083, allocations: 1.119 MB / 1.251 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.74e-05/1.083, allocations: 37.39 kB / 1.251 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006076/1.084, allocations: 486.6 kB / 1.251 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/1.084, allocations: 110.4 kB / 1.251 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002978/1.084, allocations: 108.8 kB / 1.252 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.579e-05/1.085, allocations: 332.3 kB / 1.252 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007798/1.085, allocations: 215.2 kB / 1.252 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/1.086, allocations: 0.5183 MB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/1.088, allocations: 0.6337 MB / 1.253 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/1.088, allocations: 2.062 kB / 1.253 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.004115/1.092, allocations: 1.041 MB / 1.254 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.22e-05/1.092, allocations: 40.84 kB / 1.254 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/1.092, allocations: 9.672 kB / 1.254 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002267/1.095, allocations: 381.4 kB / 1.255 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/1.095, allocations: 63.75 kB / 1.255 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/1.097, allocations: 1.083 MB / 1.256 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/1.098, allocations: 75.94 kB / 1.256 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.472e-05/1.098, allocations: 23.22 kB / 1.256 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001171/1.1, allocations: 0.4982 MB / 1.256 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007751/1.1, allocations: 0.4953 MB / 1.257 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00108/1.101, allocations: 0.5577 MB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.188e-06/1.101, allocations: 0 / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.002206/1.104, allocations: 0.8425 MB / 1.258 GB, free: 183 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/1.104, allocations: 37.47 kB / 1.258 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/1.104, allocations: 5.25 kB / 1.258 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007523/1.105, allocations: 218.2 kB / 1.258 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/1.105, allocations: 61.52 kB / 1.259 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005413/1.11, allocations: 3.261 MB / 1.262 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/1.112, allocations: 71.89 kB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-05/1.112, allocations: 22.98 kB / 1.262 GB, free: 181.1 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002586/1.112, allocations: 219.8 kB / 1.262 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/1.112, allocations: 105.2 kB / 1.262 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/1.114, allocations: 0.6988 MB / 1.263 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.114, allocations: 2.719 kB / 1.263 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.114, allocations: 3.438 kB / 1.263 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/1.114, allocations: 5.578 kB / 1.263 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003765/1.118, allocations: 1.607 MB / 1.264 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/1.118, allocations: 3.5 kB / 1.264 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/1.118, allocations: 19.91 kB / 1.264 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009151/1.119, allocations: 254.8 kB / 1.265 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/1.119, allocations: 9.406 kB / 1.265 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/1.121, allocations: 1.042 MB / 1.266 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.121, allocations: 2.656 kB / 1.266 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/1.123, allocations: 0.8146 MB / 1.266 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004234/1.123, allocations: 225.4 kB / 1.267 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/1.124, allocations: 6.984 kB / 1.267 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007856/1.124, allocations: 27.61 kB / 1.267 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/1.124, allocations: 25.53 kB / 1.267 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/1.125, allocations: 9.891 kB / 1.267 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001601/1.126, allocations: 0.7973 MB / 1.268 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.5e-07/1.126, allocations: 0 / 1.268 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002139/1.128, allocations: 430.4 kB / 1.268 GB, free: 178.1 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005242/1.129, allocations: 175.8 kB / 1.268 GB, free: 178 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004195/1.133, allocations: 1.224 MB / 1.269 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.133, allocations: 0 / 1.269 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/1.134, allocations: 284.1 kB / 1.27 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/1.137, allocations: 459.1 kB / 1.27 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004251/1.142, allocations: 1.796 MB / 1.272 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/1.143, allocations: 1.181 MB / 1.273 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001675/1.145, allocations: 308.4 kB / 1.273 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/1.145, allocations: 64.16 kB / 1.273 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of SimCode: time 8.61e-07/1.145, allocations: 0 / 1.273 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.05596/1.201, allocations: 19.27 MB / 1.292 GB, free: 168.4 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)