Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.904/1.904, allocations: 297.4 MB / 312.6 MB, free: 2.879 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.001636/0.001636, allocations: 178 kB / 382.3 MB, free: 14.84 MB / 314.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.506/1.506, allocations: 225.7 MB / 0.6617 GB, free: 7.215 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.0008955/0.0008955, allocations: 84.95 kB / 0.7789 GB, free: 46.9 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003788, allocations: 16 kB / 0.9058 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7993/0.7997, allocations: 119.2 MB / 1.022 GB, free: 57.84 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2677/1.067, allocations: 235.7 MB / 1.252 GB, free: 2.723 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01421/1.082, allocations: 9.878 MB / 1.262 GB, free: 8.496 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002246/1.084, allocations: 43.69 kB / 1.262 GB, free: 8.453 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.002238/1.086, allocations: 0.5789 MB / 1.263 GB, free: 7.871 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.006723/1.093, allocations: 1.954 MB / 1.265 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.005534/1.099, allocations: 1.848 MB / 1.266 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.005745/1.104, allocations: 4.412 MB / 1.271 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001755/1.106, allocations: 0.9185 MB / 1.272 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00452/1.111, allocations: 1.595 MB / 1.273 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002642/1.113, allocations: 0.9565 MB / 1.274 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0004331/1.114, allocations: 48 kB / 1.274 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006607/1.12, allocations: 2.782 MB / 1.277 GB, free: 9.316 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000833/1.121, allocations: 382.7 kB / 1.277 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001761/1.123, allocations: 0.6546 MB / 1.278 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.006891/1.13, allocations: 2.742 MB / 1.281 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/1.13, allocations: 0 / 1.281 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.016e-06/1.13, allocations: 0 / 1.281 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.812e-05/1.13, allocations: 0 / 1.281 GB, free: 5.527 MB / 0.8542 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.004365/1.134, allocations: 1.475 MB / 1.282 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/1.135, allocations: 8.031 kB / 1.282 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002982/1.137, allocations: 425.9 kB / 1.282 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002349/1.14, allocations: 0.9521 MB / 1.283 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.203e-05/1.14, allocations: 65.94 kB / 1.283 GB, free: 2.512 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/1.14, allocations: 88 kB / 1.284 GB, free: 2.426 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/1.142, allocations: 0.8663 MB / 1.284 GB, free: 1.551 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/1.142, allocations: 3.938 kB / 1.284 GB, free: 1.547 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.63e-05/1.142, allocations: 28 kB / 1.284 GB, free: 1.52 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.294e-05/1.142, allocations: 33.98 kB / 1.284 GB, free: 1.484 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/1.144, allocations: 0.8237 MB / 1.285 GB, free: 0.6641 MB / 0.8542 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.005956/1.15, allocations: 3.635 MB / 1.289 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/1.151, allocations: 1.107 MB / 1.29 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000635/1.152, allocations: 376.1 kB / 1.29 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007659/1.153, allocations: 424.9 kB / 1.291 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/1.153, allocations: 35.12 kB / 1.291 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=60): time 3.176e-06/1.153, allocations: 4 kB / 1.291 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60): time 0.002141/1.155, allocations: 0.9818 MB / 1.292 GB, free: 9.625 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/1.155, allocations: 59.97 kB / 1.292 GB, free: 9.555 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/1.156, allocations: 0.8239 MB / 1.292 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.49e-05/1.156, allocations: 37.7 kB / 1.293 GB, free: 8.664 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003981/1.157, allocations: 476.2 kB / 1.293 GB, free: 8.191 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/1.157, allocations: 212.9 kB / 1.293 GB, free: 7.98 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/1.157, allocations: 8 kB / 1.293 GB, free: 7.973 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.157, allocations: 334 kB / 1.293 GB, free: 7.641 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005284/1.158, allocations: 253 kB / 1.294 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006058/1.158, allocations: 382.2 kB / 1.294 GB, free: 6.984 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/1.159, allocations: 0.6087 MB / 1.295 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/1.159, allocations: 0 / 1.295 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001302/1.161, allocations: 0.7515 MB / 1.295 GB, free: 5.602 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.061e-05/1.161, allocations: 130.7 kB / 1.296 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/1.161, allocations: 4 kB / 1.296 GB, free: 5.449 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/1.161, allocations: 3.984 kB / 1.296 GB, free: 5.445 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005732/1.161, allocations: 127.9 kB / 1.296 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/1.161, allocations: 4 kB / 1.296 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009227/1.162, allocations: 123.4 kB / 1.296 GB, free: 5.195 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.828e-05/1.162, allocations: 27.98 kB / 1.296 GB, free: 5.168 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.755e-06/1.162, allocations: 4 kB / 1.296 GB, free: 5.164 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00111/1.164, allocations: 0.6261 MB / 1.296 GB, free: 4.539 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/1.164, allocations: 0 / 1.296 GB, free: 4.539 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.86e-06/1.164, allocations: 4 kB / 1.296 GB, free: 4.535 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005243/1.164, allocations: 135.8 kB / 1.297 GB, free: 4.402 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/1.164, allocations: 0 / 1.297 GB, free: 4.402 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007686/1.165, allocations: 135.3 kB / 1.297 GB, free: 4.27 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/1.165, allocations: 21.72 kB / 1.297 GB, free: 4.25 MB / 0.8698 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.0005212/1.165, allocations: 386.9 kB / 1.297 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/1.166, allocations: 110.7 kB / 1.297 GB, free: 3.754 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/1.167, allocations: 0.7508 MB / 1.298 GB, free: 2.992 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/1.167, allocations: 11.98 kB / 1.298 GB, free: 2.98 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.167, allocations: 0 / 1.298 GB, free: 2.98 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001166/1.168, allocations: 0.9151 MB / 1.299 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003418/1.172, allocations: 2.259 MB / 1.301 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/1.172, allocations: 4 kB / 1.301 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006546/1.172, allocations: 143.7 kB / 1.301 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/1.172, allocations: 8 kB / 1.301 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/1.172, allocations: 23.98 kB / 1.301 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-06/1.172, allocations: 7.938 kB / 1.301 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.172, allocations: 4 kB / 1.301 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/1.174, allocations: 1.284 MB / 1.302 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003969/1.175, allocations: 267.7 kB / 1.303 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/1.175, allocations: 16 kB / 1.303 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007579/1.176, allocations: 99.83 kB / 1.303 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/1.176, allocations: 48.27 kB / 1.303 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.871e-05/1.176, allocations: 27.98 kB / 1.303 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007726/1.177, allocations: 0.5704 MB / 1.303 GB, free: 13 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2e-07/1.177, allocations: 0 / 1.303 GB, free: 13 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001262/1.178, allocations: 0.5377 MB / 1.304 GB, free: 12.46 MB / 0.8855 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.0005236/1.178, allocations: 249.4 kB / 1.304 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001754/1.18, allocations: 0.9625 MB / 1.305 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.18, allocations: 0 / 1.305 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005924/1.181, allocations: 351.2 kB / 1.306 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003946/1.185, allocations: 0.6265 MB / 1.306 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/1.188, allocations: 2.644 MB / 1.309 GB, free: 7.598 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007383/1.189, allocations: 1.12 MB / 1.31 GB, free: 6.449 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001213/1.19, allocations: 300.6 kB / 1.31 GB, free: 6.152 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/1.19, allocations: 83.42 kB / 1.31 GB, free: 6.07 MB / 0.8855 GB Notification: Performance of SimCode: time 2.565e-06/1.191, allocations: 0 / 1.31 GB, free: 6.07 MB / 0.8855 GB Notification: Performance of Templates: time 0.0354/1.226, allocations: 19.7 MB / 1.329 GB, free: 2.637 MB / 0.9011 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)