Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001079/0.001079, allocations: 90.52 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.008601/0.008601, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.399/1.399, 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.883/2.883, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003966, allocations: 13.86 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3683, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.1802/0.5486, allocations: 163.4 MB / 1.234 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005955/0.5545, allocations: 4.037 MB / 1.238 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005811/0.5552, allocations: 15.88 kB / 1.238 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008/0.556, allocations: 198.9 kB / 1.238 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.5581, allocations: 0.6459 MB / 1.238 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.5595, allocations: 429.7 kB / 1.239 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00398/0.5635, allocations: 3.806 MB / 1.243 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002984/0.5665, allocations: 2.363 MB / 1.245 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/0.5689, allocations: 1.121 MB / 1.246 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.5701, allocations: 0.8635 MB / 1.247 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.5702, allocations: 48 kB / 1.247 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.5719, allocations: 0.8964 MB / 1.248 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003443/0.5722, allocations: 322.8 kB / 1.248 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000729/0.573, allocations: 0.6001 MB / 1.249 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001778/0.5748, allocations: 1.581 MB / 1.25 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5748, allocations: 4 kB / 1.25 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5748, allocations: 0 / 1.25 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.5748, allocations: 0 / 1.25 GB, free: 2.629 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.002531/0.5773, allocations: 1.475 MB / 1.252 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.5774, allocations: 12.02 kB / 1.252 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008318/0.5782, allocations: 202.3 kB / 1.252 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6621/1.24, allocations: 0.8781 MB / 1.253 GB, free: 17.81 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/1.241, allocations: 46.39 kB / 1.253 GB, free: 17.81 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002912/1.241, allocations: 63.75 kB / 1.253 GB, free: 17.81 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/1.243, allocations: 0.9941 MB / 1.254 GB, free: 17.59 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/1.243, allocations: 2.844 kB / 1.254 GB, free: 17.59 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.29e-05/1.243, allocations: 22.75 kB / 1.254 GB, free: 17.59 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/1.243, allocations: 15.61 kB / 1.254 GB, free: 17.59 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/1.245, allocations: 0.812 MB / 1.255 GB, free: 17.59 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.004755/1.249, allocations: 4.802 MB / 1.259 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/1.251, allocations: 4.018 MB / 1.263 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005387/1.252, allocations: 347.2 kB / 1.264 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002704/1.252, allocations: 198.8 kB / 1.264 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005542/1.253, allocations: 336.9 kB / 1.264 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004621/1.253, allocations: 31.17 kB / 1.264 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 2.265e-06/1.253, allocations: 0 / 1.264 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.005605/1.259, allocations: 1.703 MB / 1.266 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/1.259, allocations: 87.19 kB / 1.266 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/1.26, allocations: 1.188 MB / 1.267 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.225e-05/1.261, allocations: 40.02 kB / 1.267 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004296/1.261, allocations: 0.5179 MB / 1.268 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/1.261, allocations: 122.9 kB / 1.268 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.779e-05/1.261, allocations: 47.69 kB / 1.268 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.626e-05/1.261, allocations: 329.5 kB / 1.268 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004933/1.262, allocations: 230.7 kB / 1.268 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006926/1.262, allocations: 0.5604 MB / 1.269 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009229/1.263, allocations: 0.6945 MB / 1.269 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.263, allocations: 2.625 kB / 1.269 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002499/1.266, allocations: 1.151 MB / 1.271 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/1.266, allocations: 279 kB / 1.271 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/1.266, allocations: 5.469 kB / 1.271 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00156/1.268, allocations: 475.2 kB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/1.268, allocations: 79.31 kB / 1.271 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/1.269, allocations: 1.122 MB / 1.272 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/1.271, allocations: 92.67 kB / 1.273 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/1.271, allocations: 25.14 kB / 1.273 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/1.271, allocations: 3.344 kB / 1.273 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001558/1.272, allocations: 0.812 MB / 1.273 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/1.272, allocations: 7.156 kB / 1.273 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005807/1.273, allocations: 245.9 kB / 1.274 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/1.273, allocations: 70.39 kB / 1.274 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003723/1.277, allocations: 3.109 MB / 1.277 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/1.278, allocations: 95.97 kB / 1.277 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/1.278, allocations: 22.58 kB / 1.277 GB, free: 5.648 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.001037/1.279, allocations: 474.8 kB / 1.277 GB, free: 21.46 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/1.279, allocations: 108.5 kB / 1.277 GB, free: 21.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/1.281, allocations: 0.8289 MB / 1.278 GB, free: 21.28 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/1.281, allocations: 8.766 kB / 1.278 GB, free: 21.28 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/1.281, allocations: 1.312 kB / 1.278 GB, free: 21.28 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/1.281, allocations: 1.359 kB / 1.278 GB, free: 21.28 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.003298/1.284, allocations: 2.188 MB / 1.28 GB, free: 20.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/1.284, allocations: 3.156 kB / 1.28 GB, free: 20.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/1.284, allocations: 46.73 kB / 1.28 GB, free: 20.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006442/1.285, allocations: 242.1 kB / 1.281 GB, free: 20.42 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/1.285, allocations: 13.73 kB / 1.281 GB, free: 20.42 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/1.286, allocations: 0.9323 MB / 1.282 GB, free: 19.89 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/1.286, allocations: 2.781 kB / 1.282 GB, free: 19.89 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/1.288, allocations: 0.9006 MB / 1.282 GB, free: 19.59 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005703/1.289, allocations: 232.8 kB / 1.283 GB, free: 19.44 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/1.289, allocations: 9.797 kB / 1.283 GB, free: 19.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007117/1.29, allocations: 70.03 kB / 1.283 GB, free: 19.43 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/1.29, allocations: 36.62 kB / 1.283 GB, free: 19.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/1.29, allocations: 13.64 kB / 1.283 GB, free: 19.43 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001338/1.291, allocations: 0.8375 MB / 1.284 GB, free: 19.32 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/1.291, allocations: 0 / 1.284 GB, free: 19.32 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001587/1.293, allocations: 0.5035 MB / 1.284 GB, free: 19.28 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.0004736/1.293, allocations: 191.5 kB / 1.284 GB, free: 19.18 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002739/1.296, allocations: 1.301 MB / 1.286 GB, free: 18.89 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.296, allocations: 1.344 kB / 1.286 GB, free: 18.89 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007091/1.297, allocations: 322.6 kB / 1.286 GB, free: 18.87 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004026/1.301, allocations: 0.6405 MB / 1.286 GB, free: 18.83 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003551/1.305, allocations: 2.311 MB / 1.289 GB, free: 17.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009558/1.306, allocations: 1.212 MB / 1.29 GB, free: 17.04 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001339/1.307, allocations: 373.3 kB / 1.29 GB, free: 17 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/1.307, allocations: 71.12 kB / 1.29 GB, free: 16.99 MB / 1.014 GB Notification: Performance of SimCode: time 8.71e-07/1.307, allocations: 0 / 1.29 GB, free: 16.99 MB / 1.014 GB Notification: Performance of Templates: time 0.04059/1.348, allocations: 21.34 MB / 1.311 GB, free: 14.44 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)