Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008822/0.0008823, allocations: 186.7 kB / 16.08 MB, free: 5.48 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4401/0.4401, allocations: 89.07 MB / 105.9 MB, free: 12.23 MB / 90.72 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.255/1.255, allocations: 225.7 MB / 353.2 MB, free: 1.098 MB / 282.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.0007963/0.0007965, allocations: 97.56 kB / 425.4 MB, free: 6.645 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003055, allocations: 8 kB / 0.4955 GB, free: 4.547 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3273, allocations: 71.34 MB / 0.5652 GB, free: 42.35 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.4824/0.8097, allocations: 235.7 MB / 0.7954 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01082/0.8206, allocations: 9.93 MB / 0.8051 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/0.8221, allocations: 44.28 kB / 0.8051 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001794/0.8239, allocations: 0.5788 MB / 0.8057 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.005978/0.8299, allocations: 1.945 MB / 0.8076 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.004707/0.8346, allocations: 1.856 MB / 0.8094 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.004956/0.8396, allocations: 4.411 MB / 0.8137 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.8409, allocations: 0.9216 MB / 0.8146 GB, free: 8.941 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0034/0.8443, allocations: 1.597 MB / 0.8161 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.8458, allocations: 0.9485 MB / 0.8171 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.846, allocations: 48 kB / 0.8171 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00487/0.8508, allocations: 2.784 MB / 0.8198 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0004227/0.8513, allocations: 387.5 kB / 0.8202 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0009639/0.8523, allocations: 0.6502 MB / 0.8208 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.004061/0.8563, allocations: 2.751 MB / 0.8235 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.8563, allocations: 4 kB / 0.8235 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8563, allocations: 0 / 0.8235 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.567e-05/0.8564, allocations: 0 / 0.8235 GB, free: 1.242 MB / 0.5261 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.002544/0.8589, allocations: 1.467 MB / 0.825 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.859, allocations: 12.03 kB / 0.825 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002495/0.8615, allocations: 426 kB / 0.8254 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.8632, allocations: 0.9411 MB / 0.8263 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.999e-05/0.8633, allocations: 69.94 kB / 0.8264 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.8635, allocations: 88 kB / 0.8265 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.8651, allocations: 0.8648 MB / 0.8273 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.8651, allocations: 0 / 0.8273 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-05/0.8652, allocations: 32 kB / 0.8273 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.73e-05/0.8653, allocations: 34 kB / 0.8274 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.8667, allocations: 0.8159 MB / 0.8282 GB, free: 12.43 MB / 0.5417 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.004383/0.8711, allocations: 3.643 MB / 0.8317 GB, free: 8.539 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.8724, allocations: 1.102 MB / 0.8328 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005405/0.8729, allocations: 374 kB / 0.8331 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006629/0.8736, allocations: 420.9 kB / 0.8335 GB, free: 6.477 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.8737, allocations: 51.06 kB / 0.8336 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=60): time 2.305e-06/0.8737, allocations: 0 / 0.8336 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of matching and sorting (n=60): time 0.001888/0.8756, allocations: 0.9884 MB / 0.8346 GB, free: 5.43 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.8756, allocations: 59.97 kB / 0.8346 GB, free: 5.359 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009415/0.8766, allocations: 0.8161 MB / 0.8354 GB, free: 4.52 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/0.8766, allocations: 41.7 kB / 0.8355 GB, free: 4.473 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.8769, allocations: 482.6 kB / 0.8359 GB, free: 3.996 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.8771, allocations: 205 kB / 0.8361 GB, free: 3.793 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.8771, allocations: 19.94 kB / 0.8361 GB, free: 3.773 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.8773, allocations: 330 kB / 0.8364 GB, free: 3.445 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004579/0.8777, allocations: 253 kB / 0.8367 GB, free: 3.195 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005362/0.8783, allocations: 380.3 kB / 0.8371 GB, free: 2.789 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000941/0.8792, allocations: 0.6058 MB / 0.8376 GB, free: 2.172 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.8792, allocations: 0 / 0.8376 GB, free: 2.172 MB / 0.5417 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001184/0.8804, allocations: 0.7514 MB / 0.8384 GB, free: 1.422 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.06e-05/0.8805, allocations: 126.8 kB / 0.8385 GB, free: 1.277 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.8805, allocations: 0 / 0.8385 GB, free: 1.277 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.8805, allocations: 4 kB / 0.8385 GB, free: 1.273 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005388/0.8811, allocations: 131.5 kB / 0.8386 GB, free: 1.152 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.8811, allocations: 4 kB / 0.8386 GB, free: 1.148 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008429/0.8819, allocations: 127.3 kB / 0.8388 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/0.882, allocations: 20 kB / 0.8388 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.422e-06/0.882, allocations: 4 kB / 0.8388 GB, free: 1 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001018/0.883, allocations: 0.6259 MB / 0.8394 GB, free: 392 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.8831, allocations: 0 / 0.8394 GB, free: 392 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.653e-06/0.8831, allocations: 11.88 kB / 0.8394 GB, free: 380 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004988/0.8836, allocations: 135.6 kB / 0.8395 GB, free: 252 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.8836, allocations: 4 kB / 0.8395 GB, free: 248 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007142/0.8843, allocations: 123.5 kB / 0.8396 GB, free: 124 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/0.8844, allocations: 20 kB / 0.8397 GB, free: 104 kB / 0.5417 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.0004226/0.8848, allocations: 380.6 kB / 0.84 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.8849, allocations: 98.78 kB / 0.8401 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.8862, allocations: 0.7689 MB / 0.8409 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.8862, allocations: 8 kB / 0.8409 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.8863, allocations: 0 / 0.8409 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00109/0.8874, allocations: 0.919 MB / 0.8418 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003309/0.8907, allocations: 2.261 MB / 0.844 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.8907, allocations: 4 kB / 0.844 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006331/0.8913, allocations: 139.6 kB / 0.8441 GB, free: 11.33 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/0.8914, allocations: 8 kB / 0.8441 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.319e-05/0.8914, allocations: 23.94 kB / 0.8442 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/0.8914, allocations: 7.984 kB / 0.8442 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.8914, allocations: 6.438 kB / 0.8442 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.8933, allocations: 1.281 MB / 0.8454 GB, free: 9.953 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003938/0.8937, allocations: 263.7 kB / 0.8457 GB, free: 9.676 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.8939, allocations: 19.94 kB / 0.8457 GB, free: 9.656 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008054/0.8947, allocations: 100.9 kB / 0.8458 GB, free: 9.559 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.8948, allocations: 42.91 kB / 0.8458 GB, free: 9.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.386e-05/0.8949, allocations: 28.11 kB / 0.8459 GB, free: 9.492 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008501/0.8957, allocations: 0.5703 MB / 0.8464 GB, free: 8.91 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8957, allocations: 4 kB / 0.8464 GB, free: 8.906 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00134/0.8971, allocations: 0.5415 MB / 0.8469 GB, free: 8.363 MB / 0.5573 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.0005845/0.8977, allocations: 267.5 kB / 0.8472 GB, free: 8.105 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00184/0.8995, allocations: 0.9595 MB / 0.8481 GB, free: 7.168 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.8995, allocations: 0 / 0.8481 GB, free: 7.168 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005799/0.9001, allocations: 353.1 kB / 0.8485 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/0.9031, allocations: 0.6076 MB / 0.8491 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/0.9065, allocations: 2.644 MB / 0.8516 GB, free: 3.531 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006827/0.9072, allocations: 1.12 MB / 0.8527 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00106/0.9083, allocations: 304.1 kB / 0.853 GB, free: 2.082 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.9085, allocations: 71.44 kB / 0.8531 GB, free: 2.012 MB / 0.5573 GB Notification: Performance of SimCode: time 2.81e-07/0.9085, allocations: 0 / 0.8531 GB, free: 2.012 MB / 0.5573 GB Notification: Performance of Templates: time 0.03111/0.9396, allocations: 19.71 MB / 0.8723 GB, free: 14.6 MB / 0.5886 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)