Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008143/0.008143, allocations: 170.5 kB / 16.26 MB, free: 6.676 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.412/1.412, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003458, allocations: 9.469 kB / 0.9158 GB, free: 33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.332, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.1764/0.5084, allocations: 163.4 MB / 1.234 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004078/0.5126, allocations: 2.193 MB / 1.236 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004334/0.513, allocations: 15.88 kB / 1.236 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007408/0.5138, allocations: 194.9 kB / 1.236 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001842/0.5156, allocations: 0.638 MB / 1.237 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.5169, allocations: 389.9 kB / 1.237 GB, free: 140 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00403/0.521, allocations: 3.805 MB / 1.241 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003074/0.5241, allocations: 2.344 MB / 1.243 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002668/0.5268, allocations: 1.121 MB / 1.244 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.5282, allocations: 0.8596 MB / 1.245 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.5283, allocations: 51.98 kB / 1.245 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.5301, allocations: 0.8964 MB / 1.246 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004308/0.5306, allocations: 330.7 kB / 1.246 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008446/0.5314, allocations: 0.5962 MB / 1.247 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.5334, allocations: 1.581 MB / 1.248 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5334, allocations: 0 / 1.248 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.455e-06/0.5335, allocations: 0 / 1.248 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.105e-05/0.5335, allocations: 0 / 1.248 GB, free: 4.504 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002697/0.5362, allocations: 1.471 MB / 1.25 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.5363, allocations: 8.031 kB / 1.25 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008827/0.5371, allocations: 202.4 kB / 1.25 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.5385, allocations: 0.8812 MB / 1.251 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.243e-05/0.5386, allocations: 45.31 kB / 1.251 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.5387, allocations: 71.92 kB / 1.251 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.5402, allocations: 0.9909 MB / 1.252 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.5402, allocations: 7.938 kB / 1.252 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.651e-05/0.5403, allocations: 20 kB / 1.252 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.5403, allocations: 16 kB / 1.252 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6248/1.165, allocations: 0.8075 MB / 1.253 GB, free: 184 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.00513/1.17, allocations: 4.802 MB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/1.172, allocations: 4.007 MB / 1.261 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005399/1.173, allocations: 356.2 kB / 1.262 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002517/1.173, allocations: 195.4 kB / 1.262 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005256/1.173, allocations: 332.5 kB / 1.262 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003465/1.174, allocations: 35.17 kB / 1.262 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 2.414e-06/1.174, allocations: 0 / 1.262 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.004455/1.178, allocations: 1.505 MB / 1.264 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/1.178, allocations: 92.28 kB / 1.264 GB, free: 176 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/1.18, allocations: 1.187 MB / 1.265 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/1.18, allocations: 34.8 kB / 1.265 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003656/1.18, allocations: 0.5148 MB / 1.265 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.671e-05/1.18, allocations: 116.1 kB / 1.266 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.447e-05/1.18, allocations: 48.31 kB / 1.266 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.164e-05/1.18, allocations: 332.4 kB / 1.266 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004037/1.181, allocations: 235.2 kB / 1.266 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005968/1.181, allocations: 0.5605 MB / 1.267 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009383/1.182, allocations: 0.694 MB / 1.267 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/1.182, allocations: 2.625 kB / 1.267 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002217/1.185, allocations: 1.123 MB / 1.268 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/1.185, allocations: 282.3 kB / 1.269 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.185, allocations: 5.25 kB / 1.269 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/1.186, allocations: 412.8 kB / 1.269 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/1.187, allocations: 122.6 kB / 1.269 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/1.188, allocations: 1.661 MB / 1.271 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009402/1.189, allocations: 90.92 kB / 1.271 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.104e-05/1.189, allocations: 27.94 kB / 1.271 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.043e-06/1.189, allocations: 2.875 kB / 1.271 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001313/1.19, allocations: 0.7802 MB / 1.272 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.19, allocations: 10.12 kB / 1.272 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004559/1.191, allocations: 211.2 kB / 1.272 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/1.191, allocations: 112 kB / 1.272 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00315/1.194, allocations: 2.936 MB / 1.275 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000866/1.195, allocations: 91.72 kB / 1.275 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/1.195, allocations: 21.5 kB / 1.275 GB, free: 170.4 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(10,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0005707/1.196, allocations: 480.9 kB / 1.276 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/1.196, allocations: 108.6 kB / 1.276 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/1.197, allocations: 0.7941 MB / 1.276 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/1.197, allocations: 5.594 kB / 1.276 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/1.197, allocations: 0 / 1.276 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/1.197, allocations: 1.828 kB / 1.276 GB, free: 169.7 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 postOpt removeSimpleEquations (simulation): time 0.002905/1.2, allocations: 2.129 MB / 1.278 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/1.2, allocations: 3.141 kB / 1.278 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003927/1.201, allocations: 89.64 kB / 1.279 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004274/1.201, allocations: 213 kB / 1.279 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/1.201, allocations: 10.92 kB / 1.279 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/1.202, allocations: 1.468 MB / 1.28 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.202, allocations: 3.344 kB / 1.28 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/1.204, allocations: 0.87 MB / 1.281 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004005/1.204, allocations: 227.9 kB / 1.281 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/1.204, allocations: 9.703 kB / 1.281 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006999/1.205, allocations: 72.09 kB / 1.281 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.779e-05/1.205, allocations: 32.59 kB / 1.281 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/1.205, allocations: 11.38 kB / 1.281 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001265/1.206, allocations: 0.8343 MB / 1.282 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.206, allocations: 0 / 1.282 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001764/1.208, allocations: 0.4998 MB / 1.283 GB, free: 166.2 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004877/1.209, allocations: 197.6 kB / 1.283 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002814/1.211, allocations: 1.302 MB / 1.284 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.211, allocations: 1.5 kB / 1.284 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007622/1.212, allocations: 319.2 kB / 1.284 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003852/1.216, allocations: 0.6544 MB / 1.285 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003796/1.22, allocations: 2.3 MB / 1.287 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008258/1.221, allocations: 1.215 MB / 1.289 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001348/1.222, allocations: 380.4 kB / 1.289 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/1.222, allocations: 71.97 kB / 1.289 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of SimCode: time 7.92e-07/1.222, allocations: 0 / 1.289 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.03811/1.26, allocations: 21.19 MB / 1.31 GB, free: 152.6 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)