Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008824/0.0008823, allocations: 185.5 kB / 16.08 MB, free: 5.52 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.4507/0.4507, allocations: 89.07 MB / 105.9 MB, free: 12.47 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.3/1.3, allocations: 225.7 MB / 353.2 MB, free: 1.094 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.0007377/0.0007377, allocations: 95 kB / 425.4 MB, free: 6.633 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003026/0.0003026, allocations: 8 kB / 0.4955 GB, free: 4.516 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3036, allocations: 71.34 MB / 0.5652 GB, free: 42.33 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.01758/0.3212, allocations: 28.16 MB / 0.5927 GB, free: 13.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008269/0.3295, allocations: 11.18 MB / 0.6036 GB, free: 1.625 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008209/0.3303, allocations: 27.81 kB / 0.6036 GB, free: 1.598 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008679/0.3312, allocations: 334.1 kB / 0.604 GB, free: 1.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.333, allocations: 0.9253 MB / 0.6049 GB, free: 348 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.335, allocations: 0.9277 MB / 0.6058 GB, free: 15.41 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004817/0.3399, allocations: 6.061 MB / 0.6117 GB, free: 9.336 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001865/0.3417, allocations: 1.786 MB / 0.6134 GB, free: 7.516 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001802/0.3435, allocations: 1.354 MB / 0.6148 GB, free: 6.156 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.3449, allocations: 1.306 MB / 0.616 GB, free: 4.844 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001728/0.3451, allocations: 76 kB / 0.6161 GB, free: 4.77 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002373/0.3474, allocations: 1.1 MB / 0.6172 GB, free: 3.668 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000374/0.3478, allocations: 362.4 kB / 0.6175 GB, free: 3.312 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.349, allocations: 0.9734 MB / 0.6185 GB, free: 2.328 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003099/0.3521, allocations: 3.452 MB / 0.6218 GB, free: 14.87 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.155e-05/0.3521, allocations: 0 / 0.6218 GB, free: 14.87 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3521, allocations: 3.938 kB / 0.6218 GB, free: 14.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.786e-05/0.3521, allocations: 4 kB / 0.6219 GB, free: 14.86 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.003991/0.3561, allocations: 2.117 MB / 0.6239 GB, free: 12.69 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.3562, allocations: 8.031 kB / 0.6239 GB, free: 12.68 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006659/0.3569, allocations: 238.5 kB / 0.6242 GB, free: 12.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002756/0.3596, allocations: 1.741 MB / 0.6259 GB, free: 10.65 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.943e-05/0.3597, allocations: 114.7 kB / 0.626 GB, free: 10.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/0.36, allocations: 148 kB / 0.6261 GB, free: 10.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002891/0.3629, allocations: 1.986 MB / 0.628 GB, free: 8.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.3629, allocations: 4 kB / 0.628 GB, free: 8.336 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.363, allocations: 56 kB / 0.6281 GB, free: 8.281 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.047e-05/0.3631, allocations: 39.98 kB / 0.6281 GB, free: 8.242 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/0.3656, allocations: 1.786 MB / 0.6299 GB, free: 6.449 MB / 442.7 MB 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.009557/0.3751, allocations: 7.613 MB / 0.6373 GB, free: 14.53 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.3769, allocations: 1.438 MB / 0.6387 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007968/0.3777, allocations: 0.6716 MB / 0.6394 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005414/0.3831, allocations: 3.842 MB / 0.6431 GB, free: 8.227 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.3831, allocations: 43.56 kB / 0.6432 GB, free: 8.176 MB / 458.7 MB Notification: Performance of pre-optimization done (n=88): time 1.974e-06/0.3831, allocations: 0 / 0.6432 GB, free: 8.176 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.002084/0.3852, allocations: 1.506 MB / 0.6446 GB, free: 6.664 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.3853, allocations: 64.41 kB / 0.6447 GB, free: 6.59 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.3871, allocations: 1.57 MB / 0.6462 GB, free: 5.008 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.915e-05/0.3872, allocations: 45.7 kB / 0.6463 GB, free: 4.957 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005733/0.3878, allocations: 0.7535 MB / 0.647 GB, free: 4.195 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00024/0.388, allocations: 319.5 kB / 0.6473 GB, free: 3.879 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.34e-05/0.3881, allocations: 28 kB / 0.6473 GB, free: 3.852 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3882, allocations: 361.9 kB / 0.6477 GB, free: 3.492 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008956/0.3891, allocations: 0.6753 MB / 0.6484 GB, free: 2.816 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.3903, allocations: 1.016 MB / 0.6493 GB, free: 1.672 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001913/0.3922, allocations: 1.616 MB / 0.6509 GB, free: 15.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.3922, allocations: 3.938 kB / 0.6509 GB, free: 15.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002664/0.3949, allocations: 1.94 MB / 0.6528 GB, free: 13.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001943/0.3951, allocations: 360.8 kB / 0.6532 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.3951, allocations: 8 kB / 0.6532 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/0.3951, allocations: 16 kB / 0.6532 GB, free: 13.47 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.3963, allocations: 343.5 kB / 0.6535 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.151e-05/0.3964, allocations: 19.94 kB / 0.6535 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.3974, allocations: 218 kB / 0.6537 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.3975, allocations: 63.98 kB / 0.6538 GB, free: 12.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.256e-06/0.3975, allocations: 7.938 kB / 0.6538 GB, free: 12.83 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002336/0.3999, allocations: 1.784 MB / 0.6556 GB, free: 11.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.3999, allocations: 15.94 kB / 0.6556 GB, free: 11.03 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3999, allocations: 20.16 kB / 0.6556 GB, free: 11.01 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.4011, allocations: 331.5 kB / 0.6559 GB, free: 10.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.4011, allocations: 15.94 kB / 0.6559 GB, free: 10.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009243/0.402, allocations: 190.5 kB / 0.6561 GB, free: 10.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.4021, allocations: 59.98 kB / 0.6562 GB, free: 10.43 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (175): * Single equations (assignments): 175 * 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.0009341/0.4031, allocations: 0.7463 MB / 0.6569 GB, free: 9.668 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002255/0.4033, allocations: 150.2 kB / 0.657 GB, free: 9.52 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/0.4051, allocations: 1.287 MB / 0.6583 GB, free: 8.219 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.4052, allocations: 8 kB / 0.6583 GB, free: 8.211 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4052, allocations: 4 kB / 0.6583 GB, free: 8.207 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001365/0.4065, allocations: 1.277 MB / 0.6595 GB, free: 6.844 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003717/0.4103, allocations: 2.927 MB / 0.6624 GB, free: 3.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.4103, allocations: 4 kB / 0.6624 GB, free: 3.836 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007839/0.4111, allocations: 187.7 kB / 0.6626 GB, free: 3.652 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.4111, allocations: 4 kB / 0.6626 GB, free: 3.648 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.603e-05/0.4112, allocations: 23.98 kB / 0.6626 GB, free: 3.625 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.4112, allocations: 4 kB / 0.6626 GB, free: 3.621 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.4112, allocations: 4 kB / 0.6626 GB, free: 3.617 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.4134, allocations: 1.909 MB / 0.6645 GB, free: 1.676 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005915/0.414, allocations: 418.8 kB / 0.6649 GB, free: 1.246 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/0.4142, allocations: 27.98 kB / 0.6649 GB, free: 1.219 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007961/0.415, allocations: 75.77 kB / 0.665 GB, free: 1.145 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.484e-05/0.4151, allocations: 52.88 kB / 0.665 GB, free: 1.094 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/0.4152, allocations: 43.97 kB / 0.6651 GB, free: 1.051 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001443/0.4167, allocations: 1.175 MB / 0.6662 GB, free: 15.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4167, allocations: 0 / 0.6662 GB, free: 15.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002168/0.4189, allocations: 0.9084 MB / 0.6671 GB, free: 14.96 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].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 (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0007893/0.4196, allocations: 367.4 kB / 0.6675 GB, free: 14.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00317/0.4228, allocations: 2.309 MB / 0.6697 GB, free: 12.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4228, allocations: 4.25 kB / 0.6697 GB, free: 12.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006572/0.4235, allocations: 0.517 MB / 0.6702 GB, free: 11.78 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004037/0.4276, allocations: 0.8705 MB / 0.6711 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006003/0.4336, allocations: 4.375 MB / 0.6753 GB, free: 6.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/0.4347, allocations: 1.665 MB / 0.677 GB, free: 4.797 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002491/0.4372, allocations: 0.9188 MB / 0.6779 GB, free: 3.871 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/0.4376, allocations: 127.4 kB / 0.678 GB, free: 3.746 MB / 490.7 MB Notification: Performance of SimCode: time 1.142e-06/0.4376, allocations: 0 / 0.678 GB, free: 3.746 MB / 490.7 MB Notification: Performance of Templates: time 0.04973/0.4873, allocations: 33.93 MB / 0.7111 GB, free: 2.156 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)