Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.001331, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001275/0.001274, allocations: 190.4 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.1 MB / 222.1 MB, free: 4.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.805/1.805, allocations: 292.2 MB / 0.5485 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 71.17 kB / 0.671 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2968, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.8213/1.118, allocations: 237 MB / 1.014 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01367/1.132, allocations: 7.111 MB / 1.021 GB, free: 108 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002874/1.135, allocations: 46.31 kB / 1.021 GB, free: 88 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002151/1.137, allocations: 0.6096 MB / 1.022 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006552/1.144, allocations: 1.94 MB / 1.024 GB, free: 15 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005625/1.149, allocations: 1.877 MB / 1.026 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004697/1.154, allocations: 3.261 MB / 1.029 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/1.156, allocations: 1.09 MB / 1.03 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003843/1.159, allocations: 1.794 MB / 1.032 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001845/1.161, allocations: 1.01 MB / 1.033 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001721/1.161, allocations: 122.6 kB / 1.033 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004466/1.166, allocations: 2.584 MB / 1.035 GB, free: 9.172 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004826/1.166, allocations: 466.2 kB / 1.036 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008758/1.167, allocations: 0.7221 MB / 1.036 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004337/1.172, allocations: 2.825 MB / 1.039 GB, free: 6.578 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/1.172, allocations: 0 / 1.039 GB, free: 6.578 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.703e-06/1.172, allocations: 0 / 1.039 GB, free: 6.578 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.523e-05/1.172, allocations: 0 / 1.039 GB, free: 6.578 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002777/1.175, allocations: 1.707 MB / 1.041 GB, free: 5.289 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.175, allocations: 10.44 kB / 1.041 GB, free: 5.289 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002666/1.177, allocations: 419.1 kB / 1.041 GB, free: 5.102 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/1.179, allocations: 0.9546 MB / 1.042 GB, free: 4.348 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.968e-05/1.179, allocations: 65.16 kB / 1.042 GB, free: 4.316 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/1.179, allocations: 82.81 kB / 1.042 GB, free: 4.289 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/1.181, allocations: 0.87 MB / 1.043 GB, free: 3.789 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/1.181, allocations: 3.984 kB / 1.043 GB, free: 3.785 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.41e-05/1.181, allocations: 30.84 kB / 1.043 GB, free: 3.762 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-05/1.181, allocations: 27.69 kB / 1.043 GB, free: 3.762 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/1.183, allocations: 0.8147 MB / 1.044 GB, free: 3.352 MB / 0.7481 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.006227/1.189, allocations: 3.612 MB / 1.047 GB, free: 280 kB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/1.19, allocations: 1.095 MB / 1.049 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006056/1.191, allocations: 379.9 kB / 1.049 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007744/1.192, allocations: 406.2 kB / 1.049 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.768e-05/1.192, allocations: 41.16 kB / 1.049 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=60): time 4.298e-06/1.192, allocations: 0 / 1.049 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of matching and sorting (n=60): time 0.0021/1.194, allocations: 0.9572 MB / 1.05 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/1.194, allocations: 57.22 kB / 1.05 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/1.195, allocations: 0.8335 MB / 1.051 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.935e-05/1.195, allocations: 35.8 kB / 1.051 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/1.195, allocations: 481.4 kB / 1.052 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/1.196, allocations: 212.6 kB / 1.052 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/1.196, allocations: 112.4 kB / 1.052 GB, free: 13 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001164/1.196, allocations: 330.6 kB / 1.052 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004707/1.196, allocations: 254.7 kB / 1.053 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005586/1.197, allocations: 370.6 kB / 1.053 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000974/1.198, allocations: 0.5939 MB / 1.053 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/1.198, allocations: 3.156 kB / 1.053 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001295/1.199, allocations: 0.7276 MB / 1.054 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/1.199, allocations: 5.719 kB / 1.054 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.199, allocations: 6.406 kB / 1.054 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/1.199, allocations: 2.469 kB / 1.054 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005765/1.2, allocations: 127.9 kB / 1.054 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/1.2, allocations: 7.688 kB / 1.054 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009232/1.201, allocations: 116.2 kB / 1.054 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/1.201, allocations: 25.39 kB / 1.054 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007521/1.202, allocations: 495.3 kB / 1.055 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000523/1.202, allocations: 370.5 kB / 1.055 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009969/1.203, allocations: 0.5841 MB / 1.056 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.843e-06/1.203, allocations: 0 / 1.056 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001308/1.205, allocations: 0.7189 MB / 1.057 GB, free: 10.26 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/1.205, allocations: 4.938 kB / 1.057 GB, free: 10.26 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/1.205, allocations: 11.19 kB / 1.057 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.901e-06/1.205, allocations: 3.906 kB / 1.057 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005282/1.205, allocations: 120.9 kB / 1.057 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/1.205, allocations: 7.688 kB / 1.057 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000906/1.206, allocations: 120.9 kB / 1.057 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/1.206, allocations: 21.09 kB / 1.057 GB, free: 10.15 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002365/1.206, allocations: 210.8 kB / 1.057 GB, free: 9.949 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/1.207, allocations: 109 kB / 1.057 GB, free: 9.891 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/1.208, allocations: 0.7436 MB / 1.058 GB, free: 9.164 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.208, allocations: 4 kB / 1.058 GB, free: 9.16 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/1.208, allocations: 0 / 1.058 GB, free: 9.16 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001194/1.209, allocations: 0.9034 MB / 1.059 GB, free: 8.168 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003423/1.213, allocations: 2.239 MB / 1.061 GB, free: 5.793 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/1.213, allocations: 4 kB / 1.061 GB, free: 5.789 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006395/1.213, allocations: 136.3 kB / 1.061 GB, free: 5.656 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/1.213, allocations: 11.98 kB / 1.061 GB, free: 5.645 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/1.214, allocations: 16 kB / 1.061 GB, free: 5.629 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/1.214, allocations: 13.75 kB / 1.061 GB, free: 5.617 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.214, allocations: 4 kB / 1.061 GB, free: 5.613 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/1.216, allocations: 1.26 MB / 1.062 GB, free: 4.297 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004601/1.216, allocations: 255.8 kB / 1.063 GB, free: 4.027 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/1.216, allocations: 16 kB / 1.063 GB, free: 4.012 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007785/1.217, allocations: 99.75 kB / 1.063 GB, free: 3.914 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/1.217, allocations: 48.25 kB / 1.063 GB, free: 3.867 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/1.217, allocations: 28 kB / 1.063 GB, free: 3.84 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00077/1.218, allocations: 0.5821 MB / 1.063 GB, free: 3.246 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/1.218, allocations: 0 / 1.063 GB, free: 3.246 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0013/1.219, allocations: 0.526 MB / 1.064 GB, free: 2.719 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000545/1.22, allocations: 252 kB / 1.064 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001938/1.222, allocations: 1.005 MB / 1.065 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.222, allocations: 0.5 kB / 1.065 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005744/1.222, allocations: 342.2 kB / 1.065 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/1.225, allocations: 0.5995 MB / 1.066 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/1.229, allocations: 2.537 MB / 1.068 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008685/1.23, allocations: 1.124 MB / 1.07 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001236/1.231, allocations: 303.9 kB / 1.07 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/1.231, allocations: 79.42 kB / 1.07 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of SimCode: time 1.002e-06/1.231, allocations: 0 / 1.07 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of Templates: time 0.03531/1.267, allocations: 20.2 MB / 1.09 GB, free: 8.512 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)