Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001969/0.001969, allocations: 192.7 kB / 16.13 MB, free: 6.66 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.392/1.392, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 69.14 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3025, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1663/0.4689, allocations: 159.4 MB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003018/0.4719, allocations: 1.782 MB / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003125/0.4723, allocations: 19.81 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005775/0.4729, allocations: 127.2 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.4741, allocations: 0.498 MB / 1.226 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009744/0.4751, allocations: 341.9 kB / 1.226 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003096/0.4782, allocations: 3.487 MB / 1.229 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009956/0.4792, allocations: 0.7509 MB / 1.23 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.4808, allocations: 0.9103 MB / 1.231 GB, free: 3 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008087/0.4816, allocations: 0.7311 MB / 1.232 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.13e-05/0.4817, allocations: 36 kB / 1.232 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.4831, allocations: 0.8029 MB / 1.232 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.4834, allocations: 290.9 kB / 1.233 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005657/0.484, allocations: 0.5128 MB / 1.233 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.4855, allocations: 1.379 MB / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.4855, allocations: 0 / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.22e-07/0.4856, allocations: 0 / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.4856, allocations: 0 / 1.235 GB, free: 15.24 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.002311/0.4879, allocations: 1.451 MB / 1.236 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.4879, allocations: 8.031 kB / 1.236 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007808/0.4887, allocations: 186.5 kB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.4899, allocations: 0.8021 MB / 1.237 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.987e-05/0.49, allocations: 45 kB / 1.237 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.489e-05/0.4901, allocations: 60 kB / 1.237 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.4913, allocations: 0.7926 MB / 1.238 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.4913, allocations: 7.938 kB / 1.238 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.944e-05/0.4913, allocations: 24 kB / 1.238 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.4914, allocations: 16 kB / 1.238 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009576/0.4923, allocations: 0.5383 MB / 1.238 GB, free: 11.12 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.003863/0.4962, allocations: 4.587 MB / 1.243 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007337/0.497, allocations: 414.3 kB / 1.243 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003823/0.4973, allocations: 245.3 kB / 1.243 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003026/0.4977, allocations: 206.1 kB / 1.244 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004867/0.4982, allocations: 285.6 kB / 1.244 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.003e-06/0.4982, allocations: 0 / 1.244 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001387/0.4996, allocations: 0.6374 MB / 1.245 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.4996, allocations: 81.11 kB / 1.245 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.501, allocations: 1.11 MB / 1.246 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/0.501, allocations: 33.7 kB / 1.246 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003988/0.5014, allocations: 496.1 kB / 1.246 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.796e-05/0.5015, allocations: 106.5 kB / 1.246 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.5017, allocations: 114 kB / 1.246 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.5018, allocations: 329.9 kB / 1.247 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003915/0.5022, allocations: 210.4 kB / 1.247 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005925/0.5028, allocations: 0.5174 MB / 1.247 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008772/0.5037, allocations: 0.6314 MB / 1.248 GB, free: 444 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.5037, allocations: 4 kB / 1.248 GB, free: 440 kB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.6128/1.117, allocations: 0.7192 MB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.63e-05/1.117, allocations: 39.31 kB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/1.117, allocations: 6.516 kB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.306e-05/1.117, allocations: 9.031 kB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/1.119, allocations: 352.1 kB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002673/1.121, allocations: 6.087 MB / 1.255 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/1.122, allocations: 91.94 kB / 1.255 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.431e-05/1.123, allocations: 26.12 kB / 1.255 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001024/1.124, allocations: 0.4965 MB / 1.256 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005835/1.124, allocations: 491.2 kB / 1.256 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007947/1.125, allocations: 0.5569 MB / 1.257 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.008e-06/1.125, allocations: 1.375 kB / 1.257 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001229/1.126, allocations: 0.6467 MB / 1.257 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/1.126, allocations: 35.27 kB / 1.257 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.126, allocations: 5 kB / 1.257 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/1.126, allocations: 10.45 kB / 1.257 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006257/1.127, allocations: 154.2 kB / 1.258 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/1.127, allocations: 9.859 kB / 1.258 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007576/1.128, allocations: 86.12 kB / 1.258 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/1.128, allocations: 26.06 kB / 1.258 GB, free: 178.7 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): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000242/1.128, allocations: 224.7 kB / 1.258 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/1.128, allocations: 102.3 kB / 1.258 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/1.129, allocations: 492.2 kB / 1.258 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/1.129, allocations: 5.469 kB / 1.258 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.129, allocations: 0.9688 kB / 1.258 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/1.129, allocations: 4.344 kB / 1.258 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00201/1.131, allocations: 1.383 MB / 1.26 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/1.131, allocations: 3.25 kB / 1.26 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006071/1.132, allocations: 155 kB / 1.26 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/1.132, allocations: 3.562 kB / 1.26 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/1.132, allocations: 7.062 kB / 1.26 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/1.134, allocations: 6.028 MB / 1.266 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.134, allocations: 6.031 kB / 1.266 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008037/1.135, allocations: 0.5974 MB / 1.266 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002901/1.135, allocations: 210.9 kB / 1.267 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/1.135, allocations: 11.14 kB / 1.267 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004422/1.136, allocations: 48.22 kB / 1.267 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.942e-05/1.136, allocations: 41.64 kB / 1.267 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/1.136, allocations: 11.61 kB / 1.267 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009297/1.137, allocations: 0.7859 MB / 1.268 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.137, allocations: 0 / 1.268 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001172/1.138, allocations: 412.2 kB / 1.268 GB, free: 171.6 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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003868/1.138, allocations: 177 kB / 1.268 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002918/1.141, allocations: 1.076 MB / 1.269 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.141, allocations: 2.531 kB / 1.269 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007797/1.142, allocations: 290.4 kB / 1.269 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/1.144, allocations: 457 kB / 1.27 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/1.147, allocations: 2.095 MB / 1.272 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007797/1.148, allocations: 1.187 MB / 1.273 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001123/1.149, allocations: 380.3 kB / 1.273 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/1.149, allocations: 66.88 kB / 1.273 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of SimCode: time 4.3e-07/1.149, allocations: 0 / 1.273 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.03631/1.185, allocations: 17.33 MB / 1.29 GB, free: 164.7 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)