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.001123/0.001123, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.001154/0.001154, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.451/1.451, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.956/1.956, allocations: 292.3 MB / 0.5495 GB, free: 17.55 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.001464/0.001464, allocations: 63.91 kB / 0.6722 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2702, allocations: 114.6 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.7726/1.043, allocations: 239.9 MB / 1.018 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01269/1.056, allocations: 7.125 MB / 1.025 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001902/1.057, allocations: 55.69 kB / 1.025 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002025/1.06, allocations: 0.7104 MB / 1.026 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.005825/1.065, allocations: 2.062 MB / 1.028 GB, free: 408 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005296/1.071, allocations: 2.022 MB / 1.03 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005179/1.076, allocations: 3.25 MB / 1.033 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001827/1.078, allocations: 1.138 MB / 1.034 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004521/1.082, allocations: 1.786 MB / 1.036 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002179/1.085, allocations: 0.9714 MB / 1.037 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002365/1.085, allocations: 120 kB / 1.037 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005496/1.09, allocations: 2.486 MB / 1.04 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006715/1.091, allocations: 454.7 kB / 1.04 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001155/1.092, allocations: 0.7272 MB / 1.041 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004955/1.097, allocations: 2.68 MB / 1.043 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/1.097, allocations: 4 kB / 1.043 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.884e-06/1.097, allocations: 0 / 1.043 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.134e-05/1.097, allocations: 0 / 1.043 GB, free: 0.7305 MB / 0.8262 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.003092/1.1, allocations: 1.704 MB / 1.045 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/1.1, allocations: 12.03 kB / 1.045 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002643/1.103, allocations: 421.9 kB / 1.045 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/1.105, allocations: 0.9561 MB / 1.046 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.131e-05/1.105, allocations: 62 kB / 1.046 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/1.105, allocations: 80 kB / 1.046 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/1.106, allocations: 0.8701 MB / 1.047 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/1.106, allocations: 0 / 1.047 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.193e-05/1.106, allocations: 32 kB / 1.047 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.112e-05/1.107, allocations: 30 kB / 1.047 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/1.108, allocations: 0.8081 MB / 1.048 GB, free: 11.66 MB / 0.8419 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.00478/1.113, allocations: 3.627 MB / 1.052 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/1.114, allocations: 1.092 MB / 1.053 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006141/1.115, allocations: 376.7 kB / 1.053 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007262/1.116, allocations: 404.9 kB / 1.053 GB, free: 5.703 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/1.116, allocations: 41.06 kB / 1.054 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=60): time 3.326e-06/1.116, allocations: 0 / 1.054 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60): time 0.002194/1.118, allocations: 0.9584 MB / 1.054 GB, free: 4.688 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/1.118, allocations: 55.97 kB / 1.055 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/1.119, allocations: 0.8395 MB / 1.055 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.722e-05/1.119, allocations: 37.7 kB / 1.055 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000382/1.12, allocations: 476.1 kB / 1.056 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/1.12, allocations: 224.8 kB / 1.056 GB, free: 3.02 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/1.12, allocations: 106.2 kB / 1.056 GB, free: 2.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.12, allocations: 333.9 kB / 1.056 GB, free: 2.578 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004865/1.121, allocations: 255 kB / 1.057 GB, free: 2.324 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006289/1.121, allocations: 372.2 kB / 1.057 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/1.122, allocations: 0.5891 MB / 1.058 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.123, allocations: 4 kB / 1.058 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0015/1.124, allocations: 0.7359 MB / 1.058 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/1.124, allocations: 4 kB / 1.058 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1.124, allocations: 3.984 kB / 1.058 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.96e-05/1.124, allocations: 4 kB / 1.058 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000587/1.125, allocations: 128 kB / 1.059 GB, free: 448 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/1.125, allocations: 3.938 kB / 1.059 GB, free: 444 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007538/1.125, allocations: 71.39 kB / 1.059 GB, free: 372 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.455e-05/1.126, allocations: 27.94 kB / 1.059 GB, free: 344 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008868/1.126, allocations: 493 kB / 1.059 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005699/1.127, allocations: 372.3 kB / 1.059 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009682/1.128, allocations: 0.5813 MB / 1.06 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.813e-06/1.128, allocations: 0 / 1.06 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001276/1.129, allocations: 0.724 MB / 1.061 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/1.129, allocations: 4 kB / 1.061 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/1.129, allocations: 4 kB / 1.061 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/1.129, allocations: 4 kB / 1.061 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005358/1.13, allocations: 125.7 kB / 1.061 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/1.13, allocations: 4 kB / 1.061 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007347/1.131, allocations: 76.34 kB / 1.061 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.958e-05/1.131, allocations: 20 kB / 1.061 GB, free: 13.9 MB / 0.8575 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.0002312/1.131, allocations: 212.1 kB / 1.061 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/1.131, allocations: 102.7 kB / 1.061 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/1.133, allocations: 0.7363 MB / 1.062 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/1.133, allocations: 4 kB / 1.062 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.133, allocations: 4 kB / 1.062 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001242/1.134, allocations: 0.9054 MB / 1.063 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00389/1.138, allocations: 2.236 MB / 1.065 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/1.138, allocations: 4 kB / 1.065 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000688/1.139, allocations: 140.2 kB / 1.065 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/1.139, allocations: 8 kB / 1.065 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-05/1.139, allocations: 20 kB / 1.065 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-05/1.139, allocations: 8 kB / 1.065 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.139, allocations: 7.984 kB / 1.065 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002271/1.141, allocations: 1.252 MB / 1.066 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005453/1.142, allocations: 259.7 kB / 1.067 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/1.142, allocations: 19.94 kB / 1.067 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007059/1.142, allocations: 47.95 kB / 1.067 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/1.143, allocations: 44.27 kB / 1.067 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-05/1.143, allocations: 25.61 kB / 1.067 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0009181/1.144, allocations: 0.5821 MB / 1.067 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.51e-07/1.144, allocations: 0 / 1.067 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00165/1.145, allocations: 0.5338 MB / 1.068 GB, free: 6.441 MB / 0.8575 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.0007762/1.146, allocations: 240.7 kB / 1.068 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002011/1.148, allocations: 0.9427 MB / 1.069 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.148, allocations: 0 / 1.069 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005972/1.149, allocations: 347.5 kB / 1.069 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/1.151, allocations: 0.5938 MB / 1.07 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003575/1.155, allocations: 2.123 MB / 1.072 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008576/1.156, allocations: 1.12 MB / 1.073 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.00103/1.157, allocations: 302.8 kB / 1.073 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/1.157, allocations: 71.44 kB / 1.073 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of SimCode: time 8.42e-07/1.157, allocations: 0 / 1.073 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of Templates: time 0.03874/1.196, allocations: 20.4 MB / 1.093 GB, free: 12.72 MB / 0.8887 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)