Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.00103/0.00103, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007913/0.007914, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.402/1.402, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.768/2.768, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003409, allocations: 11.28 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3733, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.178/0.5513, allocations: 163.4 MB / 1.234 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003682/0.555, allocations: 2.21 MB / 1.236 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000292/0.5553, allocations: 15.88 kB / 1.236 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006731/0.556, allocations: 194.9 kB / 1.236 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.5575, allocations: 0.6342 MB / 1.237 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.5586, allocations: 386.2 kB / 1.237 GB, free: 136 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003457/0.5621, allocations: 3.79 MB / 1.241 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002634/0.5647, allocations: 2.363 MB / 1.243 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002094/0.5668, allocations: 1.113 MB / 1.244 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.5678, allocations: 0.8713 MB / 1.245 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.568, allocations: 48 kB / 1.245 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.5695, allocations: 0.8925 MB / 1.246 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000325/0.5699, allocations: 326.7 kB / 1.246 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006353/0.5705, allocations: 0.6079 MB / 1.247 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.5721, allocations: 1.569 MB / 1.248 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5721, allocations: 4 kB / 1.248 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.684e-06/0.5721, allocations: 0 / 1.248 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.534e-05/0.5721, allocations: 0 / 1.248 GB, free: 4.5 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.002422/0.5746, allocations: 1.479 MB / 1.25 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.5746, allocations: 11.97 kB / 1.25 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008084/0.5754, allocations: 198.4 kB / 1.25 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.5766, allocations: 0.8695 MB / 1.251 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.5767, allocations: 49.31 kB / 1.251 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.5768, allocations: 67.94 kB / 1.251 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.5782, allocations: 0.9948 MB / 1.252 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.5782, allocations: 0 / 1.252 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.704e-05/0.5783, allocations: 32 kB / 1.252 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.5783, allocations: 12 kB / 1.252 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7101/1.288, allocations: 0.8047 MB / 1.253 GB, free: 40.79 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.005292/1.294, allocations: 4.8 MB / 1.257 GB, free: 37.68 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/1.296, allocations: 4.018 MB / 1.261 GB, free: 33.44 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005788/1.296, allocations: 353.5 kB / 1.262 GB, free: 33.43 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002757/1.297, allocations: 200.5 kB / 1.262 GB, free: 33.25 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005996/1.297, allocations: 331.7 kB / 1.262 GB, free: 33.18 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005206/1.298, allocations: 29.31 kB / 1.262 GB, free: 33.17 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 1.793e-06/1.298, allocations: 0 / 1.262 GB, free: 33.17 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.004647/1.302, allocations: 1.507 MB / 1.264 GB, free: 32.95 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/1.302, allocations: 89.08 kB / 1.264 GB, free: 32.86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/1.304, allocations: 1.181 MB / 1.265 GB, free: 32.71 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.576e-05/1.304, allocations: 38.58 kB / 1.265 GB, free: 32.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000488/1.305, allocations: 0.5132 MB / 1.265 GB, free: 32.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.169e-05/1.305, allocations: 124.1 kB / 1.266 GB, free: 32.42 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.958e-05/1.305, allocations: 47.33 kB / 1.266 GB, free: 32.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.224e-05/1.305, allocations: 329.2 kB / 1.266 GB, free: 32.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/1.305, allocations: 237.9 kB / 1.266 GB, free: 32.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005818/1.306, allocations: 0.5667 MB / 1.267 GB, free: 31.73 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008717/1.307, allocations: 0.6994 MB / 1.267 GB, free: 31.49 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/1.307, allocations: 2.812 kB / 1.267 GB, free: 31.49 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002284/1.309, allocations: 1.108 MB / 1.268 GB, free: 31.32 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/1.309, allocations: 278.5 kB / 1.269 GB, free: 31.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.309, allocations: 2.844 kB / 1.269 GB, free: 31.01 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/1.311, allocations: 421.9 kB / 1.269 GB, free: 30.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005176/1.311, allocations: 122.5 kB / 1.269 GB, free: 30.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/1.313, allocations: 1.66 MB / 1.271 GB, free: 29.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/1.314, allocations: 85.17 kB / 1.271 GB, free: 29.85 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/1.314, allocations: 34.81 kB / 1.271 GB, free: 29.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.876e-06/1.314, allocations: 5.25 kB / 1.271 GB, free: 29.84 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001353/1.315, allocations: 0.7772 MB / 1.272 GB, free: 29.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.315, allocations: 5.828 kB / 1.272 GB, free: 29.78 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004681/1.316, allocations: 214.8 kB / 1.272 GB, free: 29.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/1.316, allocations: 113.7 kB / 1.272 GB, free: 29.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003274/1.319, allocations: 2.921 MB / 1.275 GB, free: 28.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/1.32, allocations: 92.97 kB / 1.275 GB, free: 28.37 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/1.32, allocations: 23.81 kB / 1.275 GB, free: 28.37 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.000684/1.321, allocations: 485.7 kB / 1.276 GB, free: 28.17 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/1.321, allocations: 107 kB / 1.276 GB, free: 28.11 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/1.323, allocations: 0.7911 MB / 1.276 GB, free: 28.01 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/1.323, allocations: 3.453 kB / 1.276 GB, free: 28.01 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/1.323, allocations: 2.969 kB / 1.276 GB, free: 28.01 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.323, allocations: 4.703 kB / 1.276 GB, free: 28.01 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.002922/1.326, allocations: 2.132 MB / 1.278 GB, free: 27.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.326, allocations: 2.688 kB / 1.278 GB, free: 27.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/1.326, allocations: 91.55 kB / 1.279 GB, free: 27.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004215/1.326, allocations: 202.5 kB / 1.279 GB, free: 27.17 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/1.326, allocations: 9.312 kB / 1.279 GB, free: 27.17 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009611/1.327, allocations: 1.47 MB / 1.28 GB, free: 26.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.327, allocations: 3.406 kB / 1.28 GB, free: 26.05 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/1.329, allocations: 0.8685 MB / 1.281 GB, free: 25.75 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/1.329, allocations: 231.7 kB / 1.281 GB, free: 25.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/1.329, allocations: 12.02 kB / 1.281 GB, free: 25.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007063/1.33, allocations: 72.73 kB / 1.281 GB, free: 25.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.476e-05/1.33, allocations: 27.28 kB / 1.281 GB, free: 25.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/1.33, allocations: 17.83 kB / 1.281 GB, free: 25.59 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001246/1.331, allocations: 0.8318 MB / 1.282 GB, free: 25.48 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.331, allocations: 0 / 1.282 GB, free: 25.48 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001759/1.333, allocations: 0.503 MB / 1.283 GB, free: 25.44 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.0005223/1.334, allocations: 186.5 kB / 1.283 GB, free: 25.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002879/1.337, allocations: 1.312 MB / 1.284 GB, free: 25.05 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.337, allocations: 0 / 1.284 GB, free: 25.05 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000768/1.337, allocations: 325.1 kB / 1.284 GB, free: 25.03 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003767/1.341, allocations: 0.6427 MB / 1.285 GB, free: 24.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/1.344, allocations: 2.303 MB / 1.287 GB, free: 23.92 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007447/1.345, allocations: 1.211 MB / 1.289 GB, free: 23.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001284/1.346, allocations: 384.2 kB / 1.289 GB, free: 23.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/1.346, allocations: 72.06 kB / 1.289 GB, free: 23.15 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/1.346, allocations: 0 / 1.289 GB, free: 23.15 MB / 0.9981 GB Notification: Performance of Templates: time 0.04145/1.388, allocations: 21.18 MB / 1.31 GB, free: 19.97 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)