Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.854/1.854, allocations: 306.1 MB / 321.4 MB, free: 10.67 MB / 250.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.0009444/0.0009444, allocations: 183.5 kB / 393.1 MB, free: 4.062 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.558/1.558, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000927/0.0009269, allocations: 97.77 kB / 0.7935 GB, free: 40.12 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003796, allocations: 17.95 kB / 0.9224 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8119/0.8122, allocations: 121.3 MB / 1.041 GB, free: 58.73 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2919/1.104, allocations: 235.7 MB / 1.271 GB, free: 6.766 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.01773/1.122, allocations: 9.933 MB / 1.281 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002466/1.125, allocations: 39.69 kB / 1.281 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002464/1.127, allocations: 0.5712 MB / 1.281 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.006495/1.134, allocations: 1.95 MB / 1.283 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005795/1.139, allocations: 1.855 MB / 1.285 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.008705/1.148, allocations: 4.412 MB / 1.289 GB, free: 3.27 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002901/1.151, allocations: 0.9185 MB / 1.29 GB, free: 2.332 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00651/1.158, allocations: 1.595 MB / 1.292 GB, free: 0.7305 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003817/1.161, allocations: 0.9503 MB / 1.293 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007002/1.162, allocations: 52 kB / 1.293 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01233/1.175, allocations: 2.79 MB / 1.296 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.00152/1.176, allocations: 378.7 kB / 1.296 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.002713/1.179, allocations: 0.6546 MB / 1.297 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.01057/1.189, allocations: 2.742 MB / 1.299 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/1.19, allocations: 0 / 1.299 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.687e-06/1.19, allocations: 0 / 1.299 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.445e-05/1.19, allocations: 0 / 1.299 GB, free: 9.145 MB / 0.8698 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.006337/1.196, allocations: 1.473 MB / 1.301 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 8.479e-05/1.196, allocations: 12.03 kB / 1.301 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00499/1.201, allocations: 414 kB / 1.301 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004221/1.205, allocations: 0.9639 MB / 1.302 GB, free: 6.191 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/1.206, allocations: 58 kB / 1.302 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005683/1.206, allocations: 84 kB / 1.302 GB, free: 6.055 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004011/1.21, allocations: 0.8624 MB / 1.303 GB, free: 5.188 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.194e-05/1.21, allocations: 0 / 1.303 GB, free: 5.188 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001992/1.211, allocations: 40 kB / 1.303 GB, free: 5.148 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.897e-05/1.211, allocations: 33.88 kB / 1.303 GB, free: 5.113 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00311/1.214, allocations: 0.8237 MB / 1.304 GB, free: 4.289 MB / 0.8698 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.0104/1.224, allocations: 3.643 MB / 1.307 GB, free: 364 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002729/1.227, allocations: 1.095 MB / 1.308 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/1.228, allocations: 382.9 kB / 1.309 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001264/1.229, allocations: 416.9 kB / 1.309 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.39e-05/1.23, allocations: 43.12 kB / 1.309 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 5.51e-06/1.23, allocations: 0 / 1.309 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.004013/1.234, allocations: 0.9857 MB / 1.31 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/1.234, allocations: 55.97 kB / 1.31 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002616/1.236, allocations: 0.82 MB / 1.311 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001276/1.236, allocations: 41.7 kB / 1.311 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000694/1.237, allocations: 480.1 kB / 1.312 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003832/1.238, allocations: 212.9 kB / 1.312 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/1.238, allocations: 16 kB / 1.312 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002095/1.238, allocations: 326 kB / 1.312 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009642/1.239, allocations: 253 kB / 1.312 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/1.24, allocations: 380.2 kB / 1.313 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002123/1.242, allocations: 0.6164 MB / 1.313 GB, free: 9.977 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/1.242, allocations: 4 kB / 1.313 GB, free: 9.973 MB / 0.8855 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002812/1.245, allocations: 0.7437 MB / 1.314 GB, free: 9.223 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/1.245, allocations: 126.8 kB / 1.314 GB, free: 9.082 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/1.245, allocations: 0 / 1.314 GB, free: 9.082 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.105e-05/1.245, allocations: 4 kB / 1.314 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/1.246, allocations: 135.8 kB / 1.314 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-05/1.246, allocations: 4 kB / 1.314 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/1.248, allocations: 129.1 kB / 1.314 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/1.249, allocations: 28 kB / 1.314 GB, free: 8.789 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/1.249, allocations: 4 kB / 1.314 GB, free: 8.785 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002179/1.251, allocations: 0.626 MB / 1.315 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.251, allocations: 4 kB / 1.315 GB, free: 8.152 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/1.251, allocations: 0 / 1.315 GB, free: 8.152 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/1.252, allocations: 131.8 kB / 1.315 GB, free: 8.023 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/1.252, allocations: 4 kB / 1.315 GB, free: 8.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/1.254, allocations: 119.5 kB / 1.315 GB, free: 7.902 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/1.254, allocations: 23.98 kB / 1.315 GB, free: 7.879 MB / 0.8855 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.001078/1.255, allocations: 384.9 kB / 1.316 GB, free: 7.492 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005373/1.256, allocations: 106.7 kB / 1.316 GB, free: 7.387 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002738/1.258, allocations: 0.7547 MB / 1.317 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/1.258, allocations: 4 kB / 1.317 GB, free: 6.621 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/1.258, allocations: 0 / 1.317 GB, free: 6.621 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0022/1.261, allocations: 0.9268 MB / 1.317 GB, free: 5.609 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006226/1.267, allocations: 2.251 MB / 1.32 GB, free: 3.223 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/1.267, allocations: 4 kB / 1.32 GB, free: 3.219 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/1.268, allocations: 151.7 kB / 1.32 GB, free: 3.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.677e-05/1.268, allocations: 4 kB / 1.32 GB, free: 3.066 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.963e-05/1.268, allocations: 16 kB / 1.32 GB, free: 3.051 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.595e-05/1.268, allocations: 16.28 kB / 1.32 GB, free: 3.035 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.938e-06/1.268, allocations: 7.938 kB / 1.32 GB, free: 3.027 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003565/1.272, allocations: 1.28 MB / 1.321 GB, free: 1.691 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009383/1.273, allocations: 267.7 kB / 1.321 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003226/1.273, allocations: 16 kB / 1.321 GB, free: 1.395 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/1.275, allocations: 92.61 kB / 1.321 GB, free: 1.305 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/1.275, allocations: 52.25 kB / 1.322 GB, free: 1.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.17e-05/1.275, allocations: 24 kB / 1.322 GB, free: 1.227 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001513/1.277, allocations: 0.5743 MB / 1.322 GB, free: 0.6406 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.9e-07/1.277, allocations: 0 / 1.322 GB, free: 0.6406 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002741/1.279, allocations: 0.5415 MB / 1.323 GB, free: 100 kB / 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.4952/1.774, allocations: 243.5 kB / 1.323 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002501/1.777, allocations: 0.9646 MB / 1.324 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.777, allocations: 3.219 kB / 1.324 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007081/1.778, allocations: 348.3 kB / 1.324 GB, free: 242 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003663/1.781, allocations: 0.6254 MB / 1.325 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004079/1.786, allocations: 2.631 MB / 1.327 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009174/1.786, allocations: 1.129 MB / 1.328 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001481/1.788, allocations: 298.9 kB / 1.329 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/1.788, allocations: 75.91 kB / 1.329 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of SimCode: time 7.72e-07/1.788, allocations: 0.7812 kB / 1.329 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.03843/1.827, allocations: 19.71 MB / 1.348 GB, free: 238.4 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)