Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.769/1.769, allocations: 291.7 MB / 306.8 MB, free: 7.727 MB / 234.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.001095/0.001095, allocations: 189.3 kB / 375.4 MB, free: 5.117 MB / 298.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.497/1.497, allocations: 225.7 MB / 0.6538 GB, free: 13.61 MB / 490.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.0008924/0.0008924, allocations: 98.5 kB / 0.7699 GB, free: 50.23 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005257/0.0005257, allocations: 12.66 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7832/0.7837, allocations: 118.1 MB / 1.011 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2409/1.025, allocations: 218.8 MB / 1.225 GB, free: 3.828 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01222/1.037, allocations: 6.753 MB / 1.231 GB, free: 15.02 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002023/1.039, allocations: 42.69 kB / 1.231 GB, free: 15 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001834/1.041, allocations: 463.5 kB / 1.232 GB, free: 14.75 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.005852/1.047, allocations: 1.527 MB / 1.233 GB, free: 13.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005523/1.052, allocations: 1.45 MB / 1.235 GB, free: 13.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.007245/1.06, allocations: 3.775 MB / 1.238 GB, free: 11.69 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002137/1.062, allocations: 0.9027 MB / 1.239 GB, free: 11.37 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00702/1.069, allocations: 1.421 MB / 1.241 GB, free: 10.79 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003972/1.073, allocations: 0.9099 MB / 1.241 GB, free: 10.44 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.000499/1.073, allocations: 53.17 kB / 1.241 GB, free: 10.43 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006737/1.08, allocations: 1.389 MB / 1.243 GB, free: 9.992 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.00116/1.081, allocations: 387.3 kB / 1.243 GB, free: 9.859 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009735/1.082, allocations: 287.2 kB / 1.243 GB, free: 9.613 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.004092/1.086, allocations: 1.78 MB / 1.245 GB, free: 8.543 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/1.086, allocations: 1.406 kB / 1.245 GB, free: 8.543 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.805e-06/1.087, allocations: 0 / 1.245 GB, free: 8.543 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.114e-05/1.087, allocations: 0 / 1.245 GB, free: 8.543 MB / 0.823 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.003132/1.09, allocations: 1.482 MB / 1.247 GB, free: 7.148 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/1.09, allocations: 8.031 kB / 1.247 GB, free: 7.141 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002568/1.092, allocations: 422.2 kB / 1.247 GB, free: 6.816 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/1.094, allocations: 0.9564 MB / 1.248 GB, free: 5.977 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.08e-05/1.094, allocations: 66 kB / 1.248 GB, free: 5.914 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/1.094, allocations: 80.7 kB / 1.248 GB, free: 5.836 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/1.096, allocations: 0.8679 MB / 1.249 GB, free: 5.121 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/1.096, allocations: 3.938 kB / 1.249 GB, free: 5.117 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.831e-05/1.096, allocations: 32 kB / 1.249 GB, free: 5.086 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.774e-05/1.096, allocations: 31.22 kB / 1.249 GB, free: 5.055 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/1.098, allocations: 0.8224 MB / 1.25 GB, free: 4.355 MB / 0.823 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.004887/1.103, allocations: 3.634 MB / 1.253 GB, free: 1.043 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/1.104, allocations: 1.115 MB / 1.254 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006168/1.105, allocations: 375.2 kB / 1.255 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007763/1.105, allocations: 423.8 kB / 1.255 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/1.105, allocations: 39.12 kB / 1.255 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=60): time 2.856e-06/1.105, allocations: 0 / 1.255 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60): time 0.002105/1.108, allocations: 0.9854 MB / 1.256 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/1.108, allocations: 60.91 kB / 1.256 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/1.109, allocations: 0.8203 MB / 1.257 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.183e-05/1.109, allocations: 37.7 kB / 1.257 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/1.109, allocations: 477.8 kB / 1.258 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/1.109, allocations: 211.2 kB / 1.258 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/1.109, allocations: 12.75 kB / 1.258 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.11, allocations: 332.8 kB / 1.258 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004898/1.11, allocations: 247.2 kB / 1.258 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005773/1.111, allocations: 380.8 kB / 1.259 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/1.112, allocations: 0.5982 MB / 1.259 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.112, allocations: 0 / 1.259 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001281/1.113, allocations: 0.7444 MB / 1.26 GB, free: 10.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.921e-05/1.113, allocations: 124.1 kB / 1.26 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/1.113, allocations: 6.875 kB / 1.26 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.113, allocations: 4 kB / 1.26 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005737/1.114, allocations: 125.4 kB / 1.26 GB, free: 10.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/1.114, allocations: 8.703 kB / 1.26 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008896/1.115, allocations: 123 kB / 1.26 GB, free: 10.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.519e-05/1.115, allocations: 21.88 kB / 1.26 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.271e-06/1.115, allocations: 9.094 kB / 1.26 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001124/1.116, allocations: 0.623 MB / 1.261 GB, free: 9.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/1.116, allocations: 0 / 1.261 GB, free: 9.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.701e-06/1.116, allocations: 8.781 kB / 1.261 GB, free: 9.652 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/1.116, allocations: 139.1 kB / 1.261 GB, free: 9.531 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/1.116, allocations: 4 kB / 1.261 GB, free: 9.527 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007508/1.117, allocations: 123.4 kB / 1.261 GB, free: 9.406 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/1.117, allocations: 20 kB / 1.261 GB, free: 9.387 MB / 0.8386 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.0005501/1.118, allocations: 376.9 kB / 1.262 GB, free: 9.008 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/1.118, allocations: 110.7 kB / 1.262 GB, free: 8.898 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/1.119, allocations: 0.7603 MB / 1.263 GB, free: 8.129 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/1.119, allocations: 8.656 kB / 1.263 GB, free: 8.121 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.119, allocations: 1.875 kB / 1.263 GB, free: 8.121 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001184/1.12, allocations: 0.9177 MB / 1.263 GB, free: 7.121 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00349/1.124, allocations: 2.259 MB / 1.266 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/1.124, allocations: 4 kB / 1.266 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006429/1.125, allocations: 147.7 kB / 1.266 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/1.125, allocations: 4 kB / 1.266 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.284e-05/1.125, allocations: 24.73 kB / 1.266 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.219e-05/1.125, allocations: 14.2 kB / 1.266 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.125, allocations: 4.188 kB / 1.266 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/1.127, allocations: 1.284 MB / 1.267 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004379/1.127, allocations: 259.7 kB / 1.267 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/1.127, allocations: 16 kB / 1.267 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007675/1.128, allocations: 107.2 kB / 1.267 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/1.128, allocations: 48.27 kB / 1.268 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/1.128, allocations: 23.98 kB / 1.268 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0008372/1.129, allocations: 0.5743 MB / 1.268 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.129, allocations: 4 kB / 1.268 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001425/1.131, allocations: 0.526 MB / 1.269 GB, free: 1.617 MB / 0.8386 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.0006417/1.131, allocations: 262.1 kB / 1.269 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001799/1.133, allocations: 0.9586 MB / 1.27 GB, free: 420 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.133, allocations: 0 / 1.27 GB, free: 420 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0006248/1.134, allocations: 352.2 kB / 1.27 GB, free: 68 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003229/1.137, allocations: 0.6139 MB / 1.271 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/1.14, allocations: 2.609 MB / 1.273 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006692/1.141, allocations: 1.12 MB / 1.274 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001148/1.142, allocations: 299.6 kB / 1.275 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/1.143, allocations: 79.42 kB / 1.275 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/1.143, allocations: 4 kB / 1.275 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of Templates: time 0.03176/1.174, allocations: 19.14 MB / 1.293 GB, free: 8.598 MB / 0.8698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)