Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.477/1.477, allocations: 255.9 MB / 271.2 MB, free: 8.902 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 186.4 kB / 330.8 MB, free: 476 kB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.84/1.84, allocations: 225.7 MB / 0.6016 GB, free: 1.656 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009244/0.0009243, allocations: 104.1 kB / 0.709 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003511, allocations: 12 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2343, allocations: 109.2 MB / 0.9327 GB, free: 6.312 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.7985/1.033, allocations: 236.1 MB / 1.163 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01543/1.048, allocations: 10.02 MB / 1.173 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002786/1.051, allocations: 47.69 kB / 1.173 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002459/1.054, allocations: 0.5789 MB / 1.174 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.006842/1.061, allocations: 1.949 MB / 1.176 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.005995/1.067, allocations: 1.874 MB / 1.177 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006493/1.073, allocations: 4.499 MB / 1.182 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001582/1.075, allocations: 0.9185 MB / 1.183 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00442/1.079, allocations: 1.621 MB / 1.184 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/1.081, allocations: 0.9639 MB / 1.185 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001488/1.081, allocations: 48 kB / 1.185 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006052/1.087, allocations: 2.79 MB / 1.188 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0006387/1.088, allocations: 386.7 kB / 1.188 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001555/1.09, allocations: 0.6624 MB / 1.189 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.006287/1.096, allocations: 2.769 MB / 1.192 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.096, allocations: 0 / 1.192 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.364e-06/1.096, allocations: 0 / 1.192 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.385e-05/1.096, allocations: 4 kB / 1.192 GB, free: 10.18 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.003219/1.099, allocations: 1.472 MB / 1.193 GB, free: 8.652 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 7.356e-05/1.099, allocations: 11.98 kB / 1.193 GB, free: 8.641 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002784/1.102, allocations: 433.9 kB / 1.194 GB, free: 8.215 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/1.104, allocations: 0.96 MB / 1.195 GB, free: 7.211 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.517e-05/1.104, allocations: 61.94 kB / 1.195 GB, free: 7.152 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/1.104, allocations: 87.98 kB / 1.195 GB, free: 7.066 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/1.106, allocations: 0.878 MB / 1.196 GB, free: 6.18 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/1.106, allocations: 3.938 kB / 1.196 GB, free: 6.176 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.574e-05/1.107, allocations: 32 kB / 1.196 GB, free: 6.145 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.114e-05/1.107, allocations: 34 kB / 1.196 GB, free: 6.109 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/1.108, allocations: 0.8198 MB / 1.196 GB, free: 5.293 MB / 0.7605 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.00524/1.113, allocations: 3.654 MB / 1.2 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/1.115, allocations: 1.094 MB / 1.201 GB, free: 132 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006336/1.116, allocations: 375.4 kB / 1.201 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007972/1.117, allocations: 420.9 kB / 1.202 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/1.117, allocations: 43.12 kB / 1.202 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=60): time 2.866e-06/1.117, allocations: 3.938 kB / 1.202 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=60): time 0.002151/1.119, allocations: 0.9818 MB / 1.203 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/1.119, allocations: 55.97 kB / 1.203 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/1.12, allocations: 0.836 MB / 1.204 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.327e-05/1.12, allocations: 37.7 kB / 1.204 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/1.12, allocations: 476.2 kB / 1.204 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/1.121, allocations: 220.8 kB / 1.204 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/1.121, allocations: 11.94 kB / 1.204 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.121, allocations: 326 kB / 1.205 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004797/1.121, allocations: 253 kB / 1.205 GB, free: 12 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006087/1.122, allocations: 380.2 kB / 1.205 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/1.123, allocations: 0.5969 MB / 1.206 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/1.123, allocations: 11.94 kB / 1.206 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001231/1.124, allocations: 0.7438 MB / 1.207 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.782e-05/1.124, allocations: 122.7 kB / 1.207 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/1.124, allocations: 4.641 kB / 1.207 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/1.124, allocations: 4 kB / 1.207 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005504/1.125, allocations: 131.8 kB / 1.207 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/1.125, allocations: 4 kB / 1.207 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008864/1.126, allocations: 127.3 kB / 1.207 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/1.126, allocations: 20 kB / 1.207 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/1.126, allocations: 7.938 kB / 1.207 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001066/1.127, allocations: 0.6222 MB / 1.208 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/1.127, allocations: 3.984 kB / 1.208 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.609e-06/1.127, allocations: 4.125 kB / 1.208 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005146/1.127, allocations: 131.9 kB / 1.208 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/1.128, allocations: 7.938 kB / 1.208 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007391/1.128, allocations: 119.4 kB / 1.208 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-05/1.128, allocations: 20 kB / 1.208 GB, free: 8.883 MB / 0.7761 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.0004187/1.129, allocations: 385.6 kB / 1.208 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/1.129, allocations: 106.7 kB / 1.208 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/1.13, allocations: 0.7586 MB / 1.209 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/1.13, allocations: 8 kB / 1.209 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.13, allocations: 4 kB / 1.209 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001131/1.131, allocations: 0.9151 MB / 1.21 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003227/1.135, allocations: 2.271 MB / 1.212 GB, free: 4.195 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/1.135, allocations: 7.938 kB / 1.212 GB, free: 4.188 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006375/1.135, allocations: 140.3 kB / 1.212 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.344e-05/1.135, allocations: 8 kB / 1.212 GB, free: 4.043 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/1.135, allocations: 16 kB / 1.212 GB, free: 4.027 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/1.135, allocations: 11.88 kB / 1.212 GB, free: 4.016 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.135, allocations: 4 kB / 1.212 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/1.137, allocations: 1.28 MB / 1.214 GB, free: 2.676 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003773/1.138, allocations: 271.7 kB / 1.214 GB, free: 2.391 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/1.138, allocations: 12 kB / 1.214 GB, free: 2.379 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000826/1.139, allocations: 105.3 kB / 1.214 GB, free: 2.277 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/1.139, allocations: 52.27 kB / 1.214 GB, free: 2.227 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-05/1.139, allocations: 23.98 kB / 1.214 GB, free: 2.203 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0007249/1.14, allocations: 0.5744 MB / 1.215 GB, free: 1.617 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.71e-07/1.14, allocations: 0 / 1.215 GB, free: 1.617 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001242/1.141, allocations: 0.5416 MB / 1.215 GB, free: 1.074 MB / 0.7761 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.0005154/1.141, allocations: 253.8 kB / 1.215 GB, free: 0.8281 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001776/1.143, allocations: 0.9549 MB / 1.216 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.143, allocations: 0 / 1.216 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005526/1.144, allocations: 351 kB / 1.217 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/1.147, allocations: 0.6224 MB / 1.217 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/1.15, allocations: 2.668 MB / 1.22 GB, free: 12.17 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000652/1.151, allocations: 1.124 MB / 1.221 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001077/1.152, allocations: 300.1 kB / 1.221 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/1.152, allocations: 75.44 kB / 1.221 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of SimCode: time 1.062e-06/1.152, allocations: 0 / 1.221 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of Templates: time 0.03549/1.188, allocations: 19.84 MB / 1.241 GB, free: 7.074 MB / 0.8073 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)