Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00245/0.002454, allocations: 353.1 kB / 15.94 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.504/1.504, allocations: 165.8 MB / 182.5 MB, free: 5.43 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.91/3.91, allocations: 410.8 MB / 0.5995 GB, free: 15.06 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001673/0.001673, allocations: 198.8 kB / 0.6662 GB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004605/0.0004607, allocations: 12 kB / 0.7423 GB, free: 8.945 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3414, allocations: 67.44 MB / 0.8081 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.6695/1.011, allocations: 214 MB / 1.017 GB, free: 8.816 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01349/1.024, allocations: 7.522 MB / 1.025 GB, free: 5.883 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001827/1.026, allocations: 40.97 kB / 1.025 GB, free: 5.863 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002349/1.029, allocations: 0.5887 MB / 1.025 GB, free: 5.445 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007536/1.036, allocations: 2.083 MB / 1.027 GB, free: 4.082 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006025/1.042, allocations: 1.581 MB / 1.029 GB, free: 3.352 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.005505/1.048, allocations: 3.766 MB / 1.032 GB, free: 1.996 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001721/1.05, allocations: 0.7968 MB / 1.033 GB, free: 1.391 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004261/1.054, allocations: 1.444 MB / 1.035 GB, free: 120 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002057/1.056, allocations: 0.9055 MB / 1.035 GB, free: 15.3 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.000241/1.056, allocations: 51.94 kB / 1.036 GB, free: 15.25 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003414/1.06, allocations: 0.9506 MB / 1.036 GB, free: 14.45 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.0007079/1.06, allocations: 387.5 kB / 1.037 GB, free: 14.14 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.0005651/1.061, allocations: 284 kB / 1.037 GB, free: 13.94 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.003159/1.064, allocations: 1.619 MB / 1.039 GB, free: 12.5 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 5.508e-06/1.064, allocations: 0 / 1.039 GB, free: 12.5 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.967e-06/1.064, allocations: 4 kB / 1.039 GB, free: 12.49 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 2.235e-05/1.064, allocations: 0 / 1.039 GB, free: 12.49 MB / 0.4949 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.003206/1.068, allocations: 1.435 MB / 1.04 GB, free: 11.09 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/1.068, allocations: 12.03 kB / 1.04 GB, free: 11.08 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003598/1.071, allocations: 430.2 kB / 1.04 GB, free: 10.68 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002297/1.074, allocations: 0.9128 MB / 1.041 GB, free: 9.918 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.481e-05/1.074, allocations: 69.98 kB / 1.041 GB, free: 9.875 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/1.074, allocations: 88.66 kB / 1.042 GB, free: 9.793 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002249/1.076, allocations: 0.8701 MB / 1.042 GB, free: 8.918 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/1.076, allocations: 0 / 1.042 GB, free: 8.918 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/1.076, allocations: 36 kB / 1.042 GB, free: 8.883 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.622e-05/1.076, allocations: 26 kB / 1.042 GB, free: 8.859 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002213/1.079, allocations: 0.8237 MB / 1.043 GB, free: 8.031 MB / 0.4949 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.007353/1.086, allocations: 3.639 MB / 1.047 GB, free: 4.102 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/1.088, allocations: 1.103 MB / 1.048 GB, free: 2.879 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009066/1.089, allocations: 381.1 kB / 1.048 GB, free: 2.508 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008896/1.09, allocations: 420.9 kB / 1.049 GB, free: 2.023 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/1.09, allocations: 47.05 kB / 1.049 GB, free: 1.969 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=60): time 3.682e-06/1.09, allocations: 0 / 1.049 GB, free: 1.969 MB / 0.4949 GB Notification: Performance of matching and sorting (n=60): time 0.003068/1.093, allocations: 0.9819 MB / 1.05 GB, free: 0.9805 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/1.093, allocations: 55.97 kB / 1.05 GB, free: 0.9141 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/1.095, allocations: 0.8239 MB / 1.051 GB, free: 68 kB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/1.095, allocations: 37.7 kB / 1.051 GB, free: 24 kB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005411/1.095, allocations: 480.1 kB / 1.051 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002891/1.096, allocations: 212.9 kB / 1.051 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/1.096, allocations: 16 kB / 1.051 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001814/1.096, allocations: 329.9 kB / 1.052 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007246/1.097, allocations: 249 kB / 1.052 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008614/1.098, allocations: 384.2 kB / 1.052 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008253/1.099, allocations: 310.1 kB / 1.052 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/1.099, allocations: 4 kB / 1.052 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002086/1.101, allocations: 0.7359 MB / 1.053 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/1.101, allocations: 126.7 kB / 1.053 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.665e-06/1.101, allocations: 4.094 kB / 1.053 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/1.101, allocations: 4 kB / 1.053 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008831/1.102, allocations: 131.8 kB / 1.053 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/1.102, allocations: 7.953 kB / 1.053 GB, free: 13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/1.103, allocations: 123.3 kB / 1.054 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.121e-05/1.103, allocations: 23.98 kB / 1.054 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/1.103, allocations: 4 kB / 1.054 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001729/1.105, allocations: 0.6222 MB / 1.054 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.943e-06/1.105, allocations: 0 / 1.054 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/1.105, allocations: 4 kB / 1.054 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008033/1.106, allocations: 135.9 kB / 1.054 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/1.106, allocations: 7.938 kB / 1.054 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/1.107, allocations: 126.9 kB / 1.054 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.226e-05/1.107, allocations: 20 kB / 1.054 GB, free: 11.95 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007575/1.108, allocations: 388.9 kB / 1.055 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/1.108, allocations: 98.78 kB / 1.055 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/1.11, allocations: 0.7702 MB / 1.056 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/1.11, allocations: 11.94 kB / 1.056 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.618e-06/1.11, allocations: 0 / 1.056 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001733/1.112, allocations: 0.9229 MB / 1.057 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005202/1.117, allocations: 2.251 MB / 1.059 GB, free: 7.273 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/1.117, allocations: 4 kB / 1.059 GB, free: 7.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009553/1.118, allocations: 144.2 kB / 1.059 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.835e-05/1.118, allocations: 11.95 kB / 1.059 GB, free: 7.117 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.906e-05/1.118, allocations: 16 kB / 1.059 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-05/1.118, allocations: 7.984 kB / 1.059 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.511e-06/1.118, allocations: 7.938 kB / 1.059 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003024/1.121, allocations: 1.276 MB / 1.06 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007176/1.122, allocations: 263.7 kB / 1.06 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/1.122, allocations: 15.95 kB / 1.06 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/1.124, allocations: 107.7 kB / 1.061 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/1.124, allocations: 48.33 kB / 1.061 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/1.124, allocations: 27.98 kB / 1.061 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001785/1.126, allocations: 0.5665 MB / 1.061 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.023e-06/1.126, allocations: 0 / 1.061 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001929/1.128, allocations: 0.5338 MB / 1.062 GB, free: 4.168 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000652/1.128, allocations: 240.7 kB / 1.062 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002591/1.131, allocations: 0.9626 MB / 1.063 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/1.131, allocations: 4 kB / 1.063 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009167/1.132, allocations: 351 kB / 1.063 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004033/1.136, allocations: 0.6206 MB / 1.064 GB, free: 2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005039/1.141, allocations: 2.598 MB / 1.066 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/1.142, allocations: 1.147 MB / 1.067 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002059/1.144, allocations: 296.1 kB / 1.068 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005407/1.145, allocations: 79.42 kB / 1.068 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of SimCode: time 1.744e-06/1.145, allocations: 0 / 1.068 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of Templates: time 0.05461/1.2, allocations: 19.1 MB / 1.087 GB, free: 10.94 MB / 0.5417 GB