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.001387/0.001387, allocations: 108 kB / 15.61 MB, free: 152 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.001579/0.001579, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.356/1.356, 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.736/2.736, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 61.12 kB / 0.912 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3016, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1768/0.4784, allocations: 161.6 MB / 1.226 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003163/0.4816, allocations: 1.755 MB / 1.228 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003863/0.482, allocations: 15.88 kB / 1.228 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005607/0.4826, allocations: 162.9 kB / 1.228 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.4839, allocations: 0.5172 MB / 1.228 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.485, allocations: 398 kB / 1.229 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002572/0.4876, allocations: 2.527 MB / 1.231 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.4889, allocations: 0.9294 MB / 1.232 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001711/0.4906, allocations: 1.008 MB / 1.233 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007739/0.4914, allocations: 0.7117 MB / 1.234 GB, free: 164 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.4915, allocations: 60 kB / 1.234 GB, free: 104 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.4928, allocations: 0.7367 MB / 1.235 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003053/0.4931, allocations: 314.9 kB / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005745/0.4937, allocations: 0.5401 MB / 1.235 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.4951, allocations: 1.382 MB / 1.237 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4952, allocations: 0 / 1.237 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4952, allocations: 0 / 1.237 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.4952, allocations: 0 / 1.237 GB, free: 13.12 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.002065/0.4973, allocations: 1.451 MB / 1.238 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.4973, allocations: 12.03 kB / 1.238 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007464/0.4981, allocations: 182.5 kB / 1.238 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.4991, allocations: 0.7983 MB / 1.239 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/0.4992, allocations: 49 kB / 1.239 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.046e-05/0.4993, allocations: 56 kB / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.5004, allocations: 0.7964 MB / 1.24 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.5004, allocations: 4 kB / 1.24 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.007e-05/0.5004, allocations: 23.98 kB / 1.24 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.5005, allocations: 16 kB / 1.24 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008796/0.5013, allocations: 0.5305 MB / 1.241 GB, free: 9.02 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.003496/0.5048, allocations: 4.614 MB / 1.245 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000682/0.5055, allocations: 418.8 kB / 1.246 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003745/0.5059, allocations: 243.5 kB / 1.246 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/0.5062, allocations: 202.2 kB / 1.246 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000459/0.5067, allocations: 293 kB / 1.246 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 1.473e-06/0.5067, allocations: 0 / 1.246 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001267/0.508, allocations: 0.6276 MB / 1.247 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.508, allocations: 85.05 kB / 1.247 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.5092, allocations: 1.114 MB / 1.248 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/0.5093, allocations: 37.7 kB / 1.248 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/0.5097, allocations: 496.1 kB / 1.249 GB, free: 440 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/0.5097, allocations: 110.5 kB / 1.249 GB, free: 328 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.5099, allocations: 110 kB / 1.249 GB, free: 212 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.5562/1.066, allocations: 326.9 kB / 1.249 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006724/1.067, allocations: 212.3 kB / 1.249 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006689/1.068, allocations: 0.516 MB / 1.25 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/1.069, allocations: 0.6264 MB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/1.069, allocations: 5.219 kB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001553/1.07, allocations: 0.7191 MB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.485e-05/1.07, allocations: 38.64 kB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/1.07, allocations: 5.562 kB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.125e-05/1.07, allocations: 8.344 kB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/1.072, allocations: 357.7 kB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002679/1.075, allocations: 6.079 MB / 1.257 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007831/1.076, allocations: 79.06 kB / 1.257 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.713e-05/1.076, allocations: 24.53 kB / 1.257 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008237/1.077, allocations: 0.4962 MB / 1.258 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005068/1.077, allocations: 0.4896 MB / 1.258 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007324/1.078, allocations: 0.5498 MB / 1.259 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.338e-06/1.078, allocations: 2.094 kB / 1.259 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.00124/1.079, allocations: 0.6454 MB / 1.26 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.797e-05/1.079, allocations: 41.55 kB / 1.26 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.079, allocations: 6.875 kB / 1.26 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/1.079, allocations: 8.312 kB / 1.26 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005685/1.08, allocations: 149.6 kB / 1.26 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/1.08, allocations: 15.94 kB / 1.26 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006162/1.08, allocations: 70.89 kB / 1.26 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/1.081, allocations: 21.47 kB / 1.26 GB, free: 178.5 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.0001901/1.081, allocations: 220.7 kB / 1.26 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/1.081, allocations: 100.8 kB / 1.26 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009364/1.082, allocations: 0.4911 MB / 1.261 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/1.082, allocations: 3.062 kB / 1.261 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.082, allocations: 1.188 kB / 1.261 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.082, allocations: 0 / 1.261 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/1.084, allocations: 1.392 MB / 1.262 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.084, allocations: 3.938 kB / 1.262 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000556/1.084, allocations: 151.4 kB / 1.262 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/1.084, allocations: 9.25 kB / 1.262 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/1.084, allocations: 6.438 kB / 1.262 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/1.086, allocations: 6.018 MB / 1.268 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.086, allocations: 2.906 kB / 1.268 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007462/1.087, allocations: 0.6015 MB / 1.269 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/1.087, allocations: 216.6 kB / 1.269 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/1.087, allocations: 13.84 kB / 1.269 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/1.087, allocations: 25.3 kB / 1.269 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/1.088, allocations: 26.22 kB / 1.269 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/1.088, allocations: 13.8 kB / 1.269 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001025/1.089, allocations: 0.7922 MB / 1.27 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.4e-07/1.089, allocations: 0 / 1.27 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001134/1.09, allocations: 409.1 kB / 1.27 GB, free: 171.3 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.0004232/1.09, allocations: 167.5 kB / 1.27 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003052/1.093, allocations: 1.13 MB / 1.271 GB, free: 171 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.093, allocations: 0 / 1.271 GB, free: 171 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007658/1.094, allocations: 289.6 kB / 1.272 GB, free: 171 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/1.096, allocations: 453.8 kB / 1.272 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/1.099, allocations: 1.823 MB / 1.274 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007245/1.099, allocations: 1.18 MB / 1.275 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009566/1.1, allocations: 368 kB / 1.275 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/1.1, allocations: 60.58 kB / 1.275 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/1.1, allocations: 1.625 kB / 1.275 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.0351/1.135, allocations: 17.95 MB / 1.293 GB, free: 164.1 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)