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.001458/0.001457, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00174/0.00174, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.493/1.493, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.792/2.792, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001458, allocations: 66.66 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3586, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1716/0.5302, allocations: 159.4 MB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004745/0.535, allocations: 3.642 MB / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002983/0.5354, allocations: 7.938 kB / 1.227 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005516/0.5359, allocations: 131.2 kB / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.5372, allocations: 0.498 MB / 1.227 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.5382, allocations: 396.1 kB / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003155/0.5414, allocations: 3.487 MB / 1.231 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.5424, allocations: 0.7664 MB / 1.232 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.544, allocations: 0.9102 MB / 1.233 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008223/0.5448, allocations: 0.735 MB / 1.233 GB, free: 292 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.174e-05/0.5449, allocations: 36 kB / 1.233 GB, free: 256 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.5465, allocations: 0.8029 MB / 1.234 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003016/0.5468, allocations: 290.9 kB / 1.235 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005995/0.5474, allocations: 0.5127 MB / 1.235 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.549, allocations: 1.382 MB / 1.236 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.549, allocations: 0 / 1.236 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.002e-06/0.549, allocations: 0 / 1.236 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.549, allocations: 4 kB / 1.236 GB, free: 13.25 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.002506/0.5515, allocations: 1.456 MB / 1.238 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.5516, allocations: 8.031 kB / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007692/0.5523, allocations: 194.4 kB / 1.238 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.5535, allocations: 0.7907 MB / 1.239 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-05/0.5536, allocations: 56.94 kB / 1.239 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.545e-05/0.5537, allocations: 56 kB / 1.239 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.5549, allocations: 0.7926 MB / 1.24 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.5549, allocations: 3.938 kB / 1.24 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.329e-05/0.555, allocations: 20 kB / 1.24 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.555, allocations: 12 kB / 1.24 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009401/0.556, allocations: 0.5461 MB / 1.24 GB, free: 9.133 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.004611/0.5606, allocations: 4.583 MB / 1.245 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007251/0.5613, allocations: 421.3 kB / 1.245 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003845/0.5617, allocations: 240.7 kB / 1.245 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00031/0.562, allocations: 198.2 kB / 1.246 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005312/0.5626, allocations: 301.6 kB / 1.246 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.495e-06/0.5626, allocations: 0 / 1.246 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.005049/0.5677, allocations: 1.637 MB / 1.247 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.5677, allocations: 85.11 kB / 1.248 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.5691, allocations: 1.122 MB / 1.249 GB, free: 56 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/0.5691, allocations: 33.7 kB / 1.249 GB, free: 16 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.5402/1.109, allocations: 491.5 kB / 1.249 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/1.11, allocations: 104.7 kB / 1.249 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/1.11, allocations: 111.8 kB / 1.249 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.5e-05/1.11, allocations: 323.7 kB / 1.25 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/1.11, allocations: 213.6 kB / 1.25 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006493/1.111, allocations: 0.5226 MB / 1.25 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009308/1.112, allocations: 0.6235 MB / 1.251 GB, free: 186 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/1.112, allocations: 2.5 kB / 1.251 GB, free: 186 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002515/1.114, allocations: 1.049 MB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/1.114, allocations: 38.27 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/1.114, allocations: 5.859 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/1.116, allocations: 378.5 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/1.116, allocations: 64.3 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/1.118, allocations: 1.083 MB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008573/1.118, allocations: 101.1 kB / 1.254 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/1.119, allocations: 23 kB / 1.254 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007387/1.119, allocations: 0.4968 MB / 1.254 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004641/1.12, allocations: 0.494 MB / 1.255 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006864/1.12, allocations: 0.5469 MB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.13e-06/1.12, allocations: 5.875 kB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001628/1.122, allocations: 0.8459 MB / 1.256 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/1.122, allocations: 33.67 kB / 1.256 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/1.122, allocations: 5.656 kB / 1.256 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005669/1.123, allocations: 218.4 kB / 1.256 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/1.123, allocations: 62.06 kB / 1.256 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/1.126, allocations: 2.987 MB / 1.259 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008378/1.127, allocations: 94.56 kB / 1.259 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/1.127, allocations: 22.38 kB / 1.259 GB, free: 182.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 (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.0001913/1.127, allocations: 214.9 kB / 1.259 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/1.127, allocations: 98.56 kB / 1.26 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/1.128, allocations: 0.713 MB / 1.26 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/1.128, allocations: 7.016 kB / 1.26 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/1.128, allocations: 6.781 kB / 1.26 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/1.128, allocations: 1.875 kB / 1.26 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/1.131, allocations: 1.596 MB / 1.262 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.131, allocations: 2.594 kB / 1.262 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/1.131, allocations: 23.78 kB / 1.262 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004754/1.131, allocations: 250.5 kB / 1.262 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/1.131, allocations: 15.11 kB / 1.262 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008847/1.132, allocations: 1.03 MB / 1.263 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.132, allocations: 1.094 kB / 1.263 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/1.133, allocations: 0.833 MB / 1.264 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003385/1.134, allocations: 209.4 kB / 1.264 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/1.134, allocations: 10.2 kB / 1.264 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004982/1.134, allocations: 51.97 kB / 1.264 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.206e-05/1.134, allocations: 35.14 kB / 1.264 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/1.135, allocations: 12.19 kB / 1.264 GB, free: 180 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009915/1.136, allocations: 0.7936 MB / 1.265 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.136, allocations: 0 / 1.265 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001233/1.137, allocations: 433.3 kB / 1.265 GB, free: 179.7 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.0003973/1.137, allocations: 182.3 kB / 1.266 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002433/1.14, allocations: 1.195 MB / 1.267 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.14, allocations: 1.969 kB / 1.267 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006353/1.14, allocations: 264.9 kB / 1.267 GB, free: 179 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/1.142, allocations: 463.9 kB / 1.267 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/1.145, allocations: 2.068 MB / 1.269 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006888/1.146, allocations: 1.185 MB / 1.271 GB, free: 177 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001086/1.147, allocations: 310 kB / 1.271 GB, free: 177 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/1.147, allocations: 59.34 kB / 1.271 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/1.147, allocations: 0 / 1.271 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.03417/1.181, allocations: 18.56 MB / 1.289 GB, free: 170.5 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)