Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001153/0.001154, 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.001281/0.001282, allocations: 194.2 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.797/2.797, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001268, allocations: 62.06 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3085, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1625/0.4711, allocations: 161.6 MB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00462/0.4758, allocations: 3.612 MB / 1.23 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003505/0.4761, allocations: 11.94 kB / 1.23 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005832/0.4768, allocations: 162.9 kB / 1.23 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.4781, allocations: 0.5211 MB / 1.23 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.4795, allocations: 441.3 kB / 1.231 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002743/0.4822, allocations: 2.535 MB / 1.233 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.4838, allocations: 0.9372 MB / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002011/0.4858, allocations: 1.02 MB / 1.235 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.4872, allocations: 0.704 MB / 1.236 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.4874, allocations: 56 kB / 1.236 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002007/0.4894, allocations: 0.7406 MB / 1.236 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000348/0.4898, allocations: 306.9 kB / 1.237 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007612/0.4906, allocations: 0.544 MB / 1.237 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002101/0.4927, allocations: 1.382 MB / 1.239 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4927, allocations: 3.938 kB / 1.239 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4927, allocations: 3.938 kB / 1.239 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.815e-05/0.4927, allocations: 0 / 1.239 GB, free: 11.16 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.002716/0.4955, allocations: 1.451 MB / 1.24 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.4955, allocations: 8.031 kB / 1.24 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007725/0.4963, allocations: 194.4 kB / 1.24 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.4975, allocations: 0.7907 MB / 1.241 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.726e-05/0.4976, allocations: 45 kB / 1.241 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.62e-05/0.4977, allocations: 60 kB / 1.241 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.499, allocations: 0.7964 MB / 1.242 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.499, allocations: 3.938 kB / 1.242 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.854e-05/0.4991, allocations: 27.98 kB / 1.242 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.4991, allocations: 12 kB / 1.242 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009095/0.5, allocations: 0.5383 MB / 1.242 GB, free: 7.047 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.005014/0.5051, allocations: 4.607 MB / 1.247 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007413/0.5058, allocations: 414.8 kB / 1.247 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004745/0.5063, allocations: 251.2 kB / 1.248 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003177/0.5067, allocations: 198.2 kB / 1.248 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005626/0.5072, allocations: 297 kB / 1.248 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.284e-06/0.5072, allocations: 0 / 1.248 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.5/1.007, allocations: 1.632 MB / 1.25 GB, free: 186 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/1.007, allocations: 83.41 kB / 1.25 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/1.009, allocations: 1.12 MB / 1.251 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.309e-05/1.009, allocations: 40.55 kB / 1.251 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000393/1.01, allocations: 493 kB / 1.251 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.479e-05/1.01, allocations: 111 kB / 1.251 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/1.01, allocations: 112 kB / 1.252 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.197e-05/1.01, allocations: 328.3 kB / 1.252 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004256/1.01, allocations: 212.3 kB / 1.252 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005797/1.011, allocations: 0.5191 MB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008703/1.012, allocations: 0.6264 MB / 1.253 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/1.012, allocations: 8.844 kB / 1.253 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002241/1.014, allocations: 1.037 MB / 1.254 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/1.014, allocations: 37.44 kB / 1.254 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/1.014, allocations: 5.812 kB / 1.254 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/1.016, allocations: 388.6 kB / 1.255 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/1.016, allocations: 68.3 kB / 1.255 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/1.017, allocations: 1.074 MB / 1.256 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007147/1.018, allocations: 80.42 kB / 1.256 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/1.018, allocations: 26.88 kB / 1.256 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006632/1.019, allocations: 0.495 MB / 1.256 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000435/1.019, allocations: 0.4892 MB / 1.257 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006189/1.02, allocations: 0.5563 MB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.699e-06/1.02, allocations: 2.562 kB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001389/1.021, allocations: 0.8418 MB / 1.258 GB, free: 183 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/1.021, allocations: 38.17 kB / 1.258 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-06/1.021, allocations: 4.875 kB / 1.258 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004732/1.022, allocations: 217.2 kB / 1.258 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/1.022, allocations: 60.53 kB / 1.258 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00332/1.025, allocations: 3.265 MB / 1.262 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007552/1.026, allocations: 65.77 kB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/1.026, allocations: 22.92 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.0001701/1.026, allocations: 226.2 kB / 1.262 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/1.026, allocations: 97.78 kB / 1.262 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/1.028, allocations: 0.6975 MB / 1.263 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/1.028, allocations: 2.844 kB / 1.263 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/1.028, allocations: 0.75 kB / 1.263 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/1.028, allocations: 8.047 kB / 1.263 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/1.03, allocations: 1.617 MB / 1.264 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/1.03, allocations: 1.391 kB / 1.264 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/1.03, allocations: 20.88 kB / 1.264 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004745/1.031, allocations: 249 kB / 1.265 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/1.031, allocations: 8.531 kB / 1.265 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000912/1.032, allocations: 1.037 MB / 1.266 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.032, allocations: 2.484 kB / 1.266 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/1.033, allocations: 0.829 MB / 1.266 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002936/1.033, allocations: 217.3 kB / 1.267 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/1.033, allocations: 9.484 kB / 1.267 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004409/1.034, allocations: 22.33 kB / 1.267 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-05/1.034, allocations: 30.23 kB / 1.267 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/1.034, allocations: 12.89 kB / 1.267 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001121/1.035, allocations: 0.793 MB / 1.267 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.52e-07/1.035, allocations: 0 / 1.267 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001593/1.037, allocations: 435.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.0005548/1.037, allocations: 174.4 kB / 1.268 GB, free: 178 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002761/1.04, allocations: 1.22 MB / 1.269 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.04, allocations: 0 / 1.269 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006443/1.041, allocations: 284.9 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.002176/1.043, allocations: 458.8 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.003069/1.046, allocations: 1.806 MB / 1.272 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/1.047, allocations: 1.189 MB / 1.273 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001058/1.048, allocations: 304 kB / 1.273 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/1.048, allocations: 58.69 kB / 1.273 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/1.048, allocations: 1.188 kB / 1.273 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.04001/1.088, allocations: 19.27 MB / 1.292 GB, free: 168.4 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)