Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008044/0.0008048, allocations: 90.83 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.006562/0.006562, allocations: 171 kB / 16.26 MB, free: 6.613 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.381/1.381, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003811, allocations: 16.41 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3353, allocations: 162.2 MB / 1.074 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.1805/0.5158, allocations: 163.4 MB / 1.234 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005257/0.5211, allocations: 4.025 MB / 1.238 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003685/0.5215, allocations: 11.94 kB / 1.238 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006592/0.5222, allocations: 206.8 kB / 1.238 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.5238, allocations: 0.6492 MB / 1.238 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.5249, allocations: 430.2 kB / 1.239 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003588/0.5285, allocations: 3.798 MB / 1.243 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002794/0.5313, allocations: 2.371 MB / 1.245 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002189/0.5335, allocations: 1.117 MB / 1.246 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.5346, allocations: 0.8674 MB / 1.247 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.5347, allocations: 48 kB / 1.247 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.5363, allocations: 0.8925 MB / 1.248 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003163/0.5366, allocations: 322.8 kB / 1.248 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006375/0.5373, allocations: 0.6079 MB / 1.249 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.5389, allocations: 1.577 MB / 1.25 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5389, allocations: 4 kB / 1.25 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5389, allocations: 0 / 1.25 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.539, allocations: 0 / 1.25 GB, free: 2.645 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002426/0.5414, allocations: 1.479 MB / 1.252 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.5414, allocations: 8.031 kB / 1.252 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008135/0.5423, allocations: 206.3 kB / 1.252 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7116/1.254, allocations: 0.8767 MB / 1.253 GB, free: 18.03 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/1.254, allocations: 48.94 kB / 1.253 GB, free: 18.03 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002735/1.254, allocations: 62.08 kB / 1.253 GB, free: 18.03 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/1.256, allocations: 0.9911 MB / 1.254 GB, free: 17.81 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/1.256, allocations: 4.656 kB / 1.254 GB, free: 17.81 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.311e-05/1.256, allocations: 21.72 kB / 1.254 GB, free: 17.81 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/1.257, allocations: 15 kB / 1.254 GB, free: 17.81 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/1.258, allocations: 0.8115 MB / 1.255 GB, free: 17.81 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.004941/1.263, allocations: 4.8 MB / 1.259 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/1.265, allocations: 4.019 MB / 1.263 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005385/1.265, allocations: 348.5 kB / 1.264 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002706/1.266, allocations: 194.8 kB / 1.264 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005949/1.266, allocations: 335.7 kB / 1.264 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004303/1.267, allocations: 31.53 kB / 1.264 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 2.766e-06/1.267, allocations: 2.812 kB / 1.264 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.005551/1.272, allocations: 1.699 MB / 1.266 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/1.272, allocations: 93.2 kB / 1.266 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/1.274, allocations: 1.187 MB / 1.267 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.026e-05/1.274, allocations: 34.52 kB / 1.267 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/1.275, allocations: 0.5201 MB / 1.268 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.717e-05/1.275, allocations: 127.2 kB / 1.268 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.597e-05/1.275, allocations: 44 kB / 1.268 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.629e-05/1.275, allocations: 327.2 kB / 1.268 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004117/1.275, allocations: 241.3 kB / 1.268 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005763/1.276, allocations: 0.5567 MB / 1.269 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008989/1.277, allocations: 0.6952 MB / 1.269 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/1.277, allocations: 0 / 1.269 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002439/1.279, allocations: 1.154 MB / 1.271 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/1.279, allocations: 280.7 kB / 1.271 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/1.279, allocations: 8.875 kB / 1.271 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/1.281, allocations: 461.4 kB / 1.271 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/1.281, allocations: 75.62 kB / 1.271 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/1.283, allocations: 1.124 MB / 1.272 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/1.284, allocations: 93.31 kB / 1.273 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.344e-05/1.284, allocations: 25.14 kB / 1.273 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/1.284, allocations: 4.812 kB / 1.273 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001582/1.285, allocations: 0.8082 MB / 1.273 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.285, allocations: 4.625 kB / 1.273 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005806/1.286, allocations: 244.2 kB / 1.274 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/1.286, allocations: 74.47 kB / 1.274 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003844/1.29, allocations: 3.122 MB / 1.277 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/1.291, allocations: 92.98 kB / 1.277 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/1.291, allocations: 27.11 kB / 1.277 GB, free: 5.867 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 (35): * Single equations (assignments): 33 * 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 {(11,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001168/1.293, allocations: 477.8 kB / 1.277 GB, free: 21.68 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/1.293, allocations: 107.1 kB / 1.277 GB, free: 21.62 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/1.295, allocations: 0.8329 MB / 1.278 GB, free: 21.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/1.295, allocations: 5.531 kB / 1.278 GB, free: 21.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.295, allocations: 2.188 kB / 1.278 GB, free: 21.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/1.295, allocations: 2.922 kB / 1.278 GB, free: 21.5 MB / 1.014 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.004162/1.299, allocations: 2.176 MB / 1.28 GB, free: 20.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.299, allocations: 1.969 kB / 1.28 GB, free: 20.67 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/1.299, allocations: 50.59 kB / 1.28 GB, free: 20.67 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006054/1.3, allocations: 243.8 kB / 1.281 GB, free: 20.64 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/1.3, allocations: 11.8 kB / 1.281 GB, free: 20.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/1.301, allocations: 0.9389 MB / 1.282 GB, free: 20.12 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.301, allocations: 3.219 kB / 1.282 GB, free: 20.12 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/1.303, allocations: 0.8974 MB / 1.282 GB, free: 19.81 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000569/1.303, allocations: 233.1 kB / 1.283 GB, free: 19.66 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/1.303, allocations: 11.83 kB / 1.283 GB, free: 19.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007362/1.304, allocations: 69.91 kB / 1.283 GB, free: 19.65 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/1.304, allocations: 38.31 kB / 1.283 GB, free: 19.64 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/1.304, allocations: 19.77 kB / 1.283 GB, free: 19.64 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001429/1.306, allocations: 0.8327 MB / 1.284 GB, free: 19.53 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/1.306, allocations: 0 / 1.284 GB, free: 19.53 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001714/1.308, allocations: 0.4997 MB / 1.284 GB, free: 19.5 MB / 1.014 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 (22): * Single equations (assignments): 19 * 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 {(11,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005693/1.308, allocations: 185.8 kB / 1.284 GB, free: 19.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003135/1.311, allocations: 1.303 MB / 1.286 GB, free: 19.11 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/1.311, allocations: 0 / 1.286 GB, free: 19.11 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007942/1.312, allocations: 324.8 kB / 1.286 GB, free: 19.09 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004178/1.316, allocations: 0.6457 MB / 1.286 GB, free: 19.04 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/1.32, allocations: 2.306 MB / 1.289 GB, free: 17.98 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/1.321, allocations: 1.216 MB / 1.29 GB, free: 17.26 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001356/1.323, allocations: 377.8 kB / 1.29 GB, free: 17.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/1.323, allocations: 66 kB / 1.29 GB, free: 17.21 MB / 1.014 GB Notification: Performance of SimCode: time 1.052e-06/1.323, allocations: 0 / 1.29 GB, free: 17.21 MB / 1.014 GB Notification: Performance of Templates: time 0.04284/1.366, allocations: 21.34 MB / 1.311 GB, free: 14.63 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)