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.001242/0.001242, allocations: 103.9 kB / 15.98 MB, free: 6.355 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.001317/0.001317, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.441/1.441, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.746/1.746, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.001433/0.001433, allocations: 67.5 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2569, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.737/0.9939, allocations: 237 MB / 1.015 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01081/1.005, allocations: 7.106 MB / 1.022 GB, free: 0 / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002423/1.007, allocations: 43.67 kB / 1.022 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002263/1.01, allocations: 0.6141 MB / 1.023 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005892/1.016, allocations: 1.933 MB / 1.024 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005315/1.021, allocations: 1.884 MB / 1.026 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005059/1.026, allocations: 3.247 MB / 1.029 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001858/1.028, allocations: 1.105 MB / 1.03 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004652/1.032, allocations: 1.784 MB / 1.032 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002155/1.035, allocations: 1.016 MB / 1.033 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000219/1.035, allocations: 124.4 kB / 1.033 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005035/1.04, allocations: 2.592 MB / 1.036 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0006474/1.041, allocations: 458.3 kB / 1.036 GB, free: 8.719 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001202/1.042, allocations: 0.7186 MB / 1.037 GB, free: 8.254 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003875/1.046, allocations: 2.003 MB / 1.039 GB, free: 7 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.046, allocations: 0 / 1.039 GB, free: 7 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.623e-06/1.046, allocations: 0 / 1.039 GB, free: 7 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.407e-05/1.046, allocations: 2.469 kB / 1.039 GB, free: 7 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.003317/1.049, allocations: 1.705 MB / 1.041 GB, free: 5.711 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/1.049, allocations: 8.156 kB / 1.041 GB, free: 5.711 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00272/1.052, allocations: 422.6 kB / 1.041 GB, free: 5.52 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002012/1.054, allocations: 0.9487 MB / 1.042 GB, free: 4.773 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.486e-05/1.054, allocations: 61.25 kB / 1.042 GB, free: 4.746 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/1.054, allocations: 91.34 kB / 1.042 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/1.056, allocations: 0.8655 MB / 1.043 GB, free: 4.215 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/1.056, allocations: 0 / 1.043 GB, free: 4.215 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.459e-05/1.056, allocations: 39.09 kB / 1.043 GB, free: 4.184 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.635e-05/1.056, allocations: 28.62 kB / 1.043 GB, free: 4.184 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/1.057, allocations: 0.8014 MB / 1.044 GB, free: 3.785 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.005293/1.063, allocations: 3.62 MB / 1.047 GB, free: 0.6992 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/1.064, allocations: 1.095 MB / 1.048 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005564/1.065, allocations: 370.8 kB / 1.049 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007061/1.066, allocations: 410.4 kB / 1.049 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/1.066, allocations: 38.72 kB / 1.049 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=60): time 3.817e-06/1.066, allocations: 3.984 kB / 1.049 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of matching and sorting (n=60): time 0.002158/1.068, allocations: 0.9572 MB / 1.05 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/1.068, allocations: 59.09 kB / 1.05 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/1.069, allocations: 0.8305 MB / 1.051 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 8.038e-05/1.069, allocations: 42.89 kB / 1.051 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/1.069, allocations: 480.7 kB / 1.051 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/1.07, allocations: 216.2 kB / 1.052 GB, free: 13.49 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/1.07, allocations: 112.9 kB / 1.052 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.07, allocations: 326.3 kB / 1.052 GB, free: 13.1 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/1.07, allocations: 254.8 kB / 1.052 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000564/1.071, allocations: 370.5 kB / 1.053 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/1.072, allocations: 0.5923 MB / 1.053 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.072, allocations: 0 / 1.053 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001409/1.074, allocations: 0.7344 MB / 1.054 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/1.074, allocations: 4.875 kB / 1.054 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.074, allocations: 2.75 kB / 1.054 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/1.074, allocations: 2.406 kB / 1.054 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005781/1.074, allocations: 129.5 kB / 1.054 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.041e-05/1.074, allocations: 14.27 kB / 1.054 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/1.075, allocations: 116.8 kB / 1.054 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/1.075, allocations: 21.34 kB / 1.054 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009166/1.076, allocations: 0.4883 MB / 1.055 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005765/1.077, allocations: 365.4 kB / 1.055 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001016/1.078, allocations: 0.5842 MB / 1.056 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.878e-06/1.078, allocations: 0.9688 kB / 1.056 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001528/1.079, allocations: 0.7258 MB / 1.056 GB, free: 10.67 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/1.08, allocations: 7.375 kB / 1.056 GB, free: 10.67 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/1.08, allocations: 1.219 kB / 1.056 GB, free: 10.67 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/1.08, allocations: 5.625 kB / 1.056 GB, free: 10.67 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005574/1.08, allocations: 124.8 kB / 1.057 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/1.08, allocations: 9.75 kB / 1.057 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/1.081, allocations: 106.7 kB / 1.057 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/1.081, allocations: 23.55 kB / 1.057 GB, free: 10.58 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.0002689/1.082, allocations: 217.6 kB / 1.057 GB, free: 10.37 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/1.082, allocations: 103.9 kB / 1.057 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/1.083, allocations: 0.738 MB / 1.058 GB, free: 9.875 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.083, allocations: 4 kB / 1.058 GB, free: 9.871 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.083, allocations: 0 / 1.058 GB, free: 9.871 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001195/1.085, allocations: 0.9111 MB / 1.059 GB, free: 8.871 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003977/1.089, allocations: 2.236 MB / 1.061 GB, free: 6.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/1.089, allocations: 4 kB / 1.061 GB, free: 6.496 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006761/1.089, allocations: 139.8 kB / 1.061 GB, free: 6.359 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-05/1.089, allocations: 4 kB / 1.061 GB, free: 6.355 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.486e-05/1.089, allocations: 16 kB / 1.061 GB, free: 6.34 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.347e-05/1.089, allocations: 13.27 kB / 1.061 GB, free: 6.328 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.089, allocations: 4 kB / 1.061 GB, free: 6.324 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/1.092, allocations: 1.26 MB / 1.062 GB, free: 5.008 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006154/1.092, allocations: 259.8 kB / 1.062 GB, free: 4.734 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/1.093, allocations: 16 kB / 1.062 GB, free: 4.719 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009897/1.094, allocations: 97.25 kB / 1.063 GB, free: 4.625 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/1.094, allocations: 48.31 kB / 1.063 GB, free: 4.578 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.813e-05/1.094, allocations: 27.94 kB / 1.063 GB, free: 4.551 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009385/1.095, allocations: 0.5743 MB / 1.063 GB, free: 3.965 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.8e-07/1.095, allocations: 4 kB / 1.063 GB, free: 3.961 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001635/1.096, allocations: 0.5377 MB / 1.064 GB, free: 3.422 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.0005579/1.097, allocations: 245.4 kB / 1.064 GB, free: 3.18 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002092/1.099, allocations: 1.013 MB / 1.065 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.099, allocations: 0 / 1.065 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00064/1.1, allocations: 347.5 kB / 1.065 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/1.103, allocations: 0.5876 MB / 1.066 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003995/1.107, allocations: 2.602 MB / 1.068 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008523/1.107, allocations: 1.116 MB / 1.069 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/1.108, allocations: 83.42 kB / 1.07 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of SimCode: time 5.41e-07/1.108, allocations: 0 / 1.07 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of Templates: time 0.02761/1.135, allocations: 17.03 MB / 1.086 GB, free: 12.47 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)