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.001188/0.001188, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001531/0.001531, allocations: 193.6 kB / 16.14 MB, free: 6.707 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.61/1.61, allocations: 205.1 MB / 222 MB, free: 4.781 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.871/1.871, allocations: 292.3 MB / 0.5484 GB, free: 13.7 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.001365/0.001365, allocations: 67.16 kB / 0.6708 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2963, allocations: 114.5 MB / 0.7827 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.896/1.192, allocations: 237.7 MB / 1.015 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01433/1.207, allocations: 7.22 MB / 1.022 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003141/1.21, allocations: 44.78 kB / 1.022 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002429/1.212, allocations: 0.5862 MB / 1.023 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006788/1.219, allocations: 1.941 MB / 1.024 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00595/1.225, allocations: 1.854 MB / 1.026 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006618/1.232, allocations: 4.414 MB / 1.031 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/1.234, allocations: 0.9461 MB / 1.031 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004518/1.238, allocations: 1.591 MB / 1.033 GB, free: 9.926 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002333/1.24, allocations: 0.9898 MB / 1.034 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001772/1.241, allocations: 64.47 kB / 1.034 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006139/1.247, allocations: 2.838 MB / 1.037 GB, free: 7.703 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0006084/1.247, allocations: 401.8 kB / 1.037 GB, free: 7.445 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00116/1.249, allocations: 0.6484 MB / 1.038 GB, free: 7.047 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005648/1.254, allocations: 2.783 MB / 1.041 GB, free: 5.273 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/1.254, allocations: 0 / 1.041 GB, free: 5.273 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.102e-06/1.254, allocations: 0 / 1.041 GB, free: 5.273 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.591e-05/1.254, allocations: 0 / 1.041 GB, free: 5.273 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.00365/1.258, allocations: 1.697 MB / 1.042 GB, free: 3.988 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.823e-05/1.258, allocations: 14.84 kB / 1.042 GB, free: 3.984 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003358/1.261, allocations: 422.2 kB / 1.043 GB, free: 3.793 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/1.264, allocations: 0.9553 MB / 1.044 GB, free: 3.039 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.038e-05/1.264, allocations: 60.69 kB / 1.044 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/1.264, allocations: 92.56 kB / 1.044 GB, free: 2.98 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/1.266, allocations: 0.857 MB / 1.045 GB, free: 2.492 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/1.266, allocations: 0 / 1.045 GB, free: 2.492 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.504e-05/1.266, allocations: 36.62 kB / 1.045 GB, free: 2.465 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.365e-05/1.266, allocations: 26 kB / 1.045 GB, free: 2.461 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/1.268, allocations: 0.8059 MB / 1.045 GB, free: 2.062 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.005697/1.274, allocations: 3.624 MB / 1.049 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/1.275, allocations: 1.093 MB / 1.05 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005914/1.276, allocations: 374.4 kB / 1.05 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007873/1.277, allocations: 413.1 kB / 1.051 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.309e-05/1.277, allocations: 48.38 kB / 1.051 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=60): time 2.746e-06/1.277, allocations: 0 / 1.051 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of matching and sorting (n=60): time 0.002251/1.279, allocations: 0.9517 MB / 1.052 GB, free: 12.95 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/1.279, allocations: 58.81 kB / 1.052 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/1.28, allocations: 0.8308 MB / 1.053 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.76e-05/1.28, allocations: 42.95 kB / 1.053 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003977/1.281, allocations: 480.5 kB / 1.053 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/1.281, allocations: 214 kB / 1.053 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/1.281, allocations: 108.5 kB / 1.053 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001634/1.281, allocations: 333.9 kB / 1.054 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004863/1.282, allocations: 253.3 kB / 1.054 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005882/1.282, allocations: 369.2 kB / 1.054 GB, free: 11 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/1.283, allocations: 0.5921 MB / 1.055 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.283, allocations: 0 / 1.055 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001494/1.285, allocations: 0.7319 MB / 1.056 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/1.285, allocations: 4.844 kB / 1.056 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/1.285, allocations: 4.125 kB / 1.056 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/1.285, allocations: 5.25 kB / 1.056 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006395/1.286, allocations: 124.1 kB / 1.056 GB, free: 10.26 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/1.286, allocations: 7.656 kB / 1.056 GB, free: 10.26 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/1.287, allocations: 121.7 kB / 1.056 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.634e-05/1.287, allocations: 23.98 kB / 1.056 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008773/1.288, allocations: 497.7 kB / 1.056 GB, free: 9.648 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005821/1.288, allocations: 368.2 kB / 1.057 GB, free: 9.258 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009936/1.289, allocations: 0.5851 MB / 1.057 GB, free: 8.656 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.876e-06/1.289, allocations: 0 / 1.057 GB, free: 8.656 MB / 0.7637 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00132/1.291, allocations: 0.7126 MB / 1.058 GB, free: 7.938 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/1.291, allocations: 8 kB / 1.058 GB, free: 7.93 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/1.291, allocations: 4.125 kB / 1.058 GB, free: 7.926 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/1.291, allocations: 7.984 kB / 1.058 GB, free: 7.918 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005455/1.291, allocations: 127.8 kB / 1.058 GB, free: 7.793 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/1.291, allocations: 7.938 kB / 1.058 GB, free: 7.785 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/1.292, allocations: 114.7 kB / 1.058 GB, free: 7.676 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.631e-05/1.292, allocations: 20 kB / 1.058 GB, free: 7.656 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.0002577/1.293, allocations: 212.1 kB / 1.058 GB, free: 7.441 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/1.293, allocations: 106.7 kB / 1.059 GB, free: 7.336 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/1.294, allocations: 0.7438 MB / 1.059 GB, free: 6.586 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/1.294, allocations: 8 kB / 1.059 GB, free: 6.578 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.294, allocations: 0 / 1.059 GB, free: 6.578 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001189/1.296, allocations: 0.8995 MB / 1.06 GB, free: 5.59 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003517/1.299, allocations: 2.239 MB / 1.062 GB, free: 3.215 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.299, allocations: 8 kB / 1.062 GB, free: 3.207 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006579/1.3, allocations: 136.2 kB / 1.062 GB, free: 3.074 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.928e-06/1.3, allocations: 8 kB / 1.062 GB, free: 3.066 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.115e-05/1.3, allocations: 20 kB / 1.062 GB, free: 3.047 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/1.3, allocations: 4 kB / 1.063 GB, free: 3.043 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.3, allocations: 7.938 kB / 1.063 GB, free: 3.035 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/1.302, allocations: 1.26 MB / 1.064 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004782/1.302, allocations: 255.8 kB / 1.064 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/1.302, allocations: 16 kB / 1.064 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007974/1.303, allocations: 95.75 kB / 1.064 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/1.303, allocations: 56.25 kB / 1.064 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.904e-05/1.303, allocations: 24 kB / 1.064 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009023/1.304, allocations: 0.5782 MB / 1.065 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.683e-06/1.304, allocations: 0 / 1.065 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00169/1.306, allocations: 0.5377 MB / 1.065 GB, free: 132 kB / 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.0007157/1.307, allocations: 245 kB / 1.065 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001971/1.309, allocations: 0.931 MB / 1.066 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.309, allocations: 0.5 kB / 1.066 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006321/1.309, allocations: 346.1 kB / 1.067 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002806/1.312, allocations: 0.6152 MB / 1.067 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/1.316, allocations: 2.531 MB / 1.07 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007227/1.317, allocations: 1.12 MB / 1.071 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001182/1.318, allocations: 304.1 kB / 1.071 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/1.318, allocations: 75.42 kB / 1.071 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of SimCode: time 8.01e-07/1.318, allocations: 0 / 1.071 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of Templates: time 0.03933/1.357, allocations: 19.8 MB / 1.091 GB, free: 6.379 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)