Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004022/0.004022, allocations: 354.1 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.487/1.487, allocations: 165.8 MB / 182.5 MB, free: 5.453 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.732/3.732, allocations: 410.8 MB / 0.5995 GB, free: 15.18 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001732/0.001732, allocations: 193.8 kB / 0.6662 GB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004705, allocations: 12 kB / 0.7423 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3604, allocations: 67.44 MB / 0.8081 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02635/0.3868, allocations: 26.21 MB / 0.8337 GB, free: 2.516 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.3995, allocations: 7.214 MB / 0.8408 GB, free: 11.29 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.4008, allocations: 31.81 kB / 0.8408 GB, free: 11.25 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.4021, allocations: 365.6 kB / 0.8412 GB, free: 10.89 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003876/0.406, allocations: 1.053 MB / 0.8422 GB, free: 9.836 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004515/0.4105, allocations: 1.091 MB / 0.8433 GB, free: 8.762 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007468/0.418, allocations: 5.222 MB / 0.8484 GB, free: 3.52 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002798/0.4208, allocations: 1.611 MB / 0.8499 GB, free: 1.891 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002844/0.4237, allocations: 1.264 MB / 0.8512 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0024/0.4262, allocations: 1.225 MB / 0.8524 GB, free: 15.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000307/0.4265, allocations: 80 kB / 0.8524 GB, free: 15.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002546/0.4291, allocations: 0.8149 MB / 0.8532 GB, free: 14.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005843/0.4297, allocations: 358.5 kB / 0.8536 GB, free: 14.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007804/0.4305, allocations: 416.8 kB / 0.854 GB, free: 13.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004239/0.4347, allocations: 2.774 MB / 0.8567 GB, free: 10.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.626e-06/0.4348, allocations: 0 / 0.8567 GB, free: 10.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4348, allocations: 3.938 kB / 0.8567 GB, free: 10.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.979e-05/0.4349, allocations: 0 / 0.8567 GB, free: 10.95 MB / 410.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.005657/0.4405, allocations: 2.132 MB / 0.8588 GB, free: 8.758 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.4406, allocations: 8.031 kB / 0.8588 GB, free: 8.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.4418, allocations: 229.5 kB / 0.859 GB, free: 8.523 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004266/0.446, allocations: 1.698 MB / 0.8607 GB, free: 6.773 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.4462, allocations: 114.7 kB / 0.8608 GB, free: 6.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003789/0.4466, allocations: 148 kB / 0.8609 GB, free: 6.516 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004822/0.4514, allocations: 1.99 MB / 0.8629 GB, free: 4.461 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.673e-05/0.4515, allocations: 0 / 0.8629 GB, free: 4.461 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002183/0.4518, allocations: 60 kB / 0.8629 GB, free: 4.402 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.47e-05/0.4519, allocations: 40 kB / 0.863 GB, free: 4.363 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004624/0.4565, allocations: 1.782 MB / 0.8647 GB, free: 2.574 MB / 410.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.01622/0.4728, allocations: 7.625 MB / 0.8721 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002725/0.4755, allocations: 1.428 MB / 0.8735 GB, free: 9.191 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.4769, allocations: 0.6654 MB / 0.8742 GB, free: 8.527 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009195/0.4861, allocations: 3.834 MB / 0.8779 GB, free: 4.371 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.86e-05/0.4862, allocations: 51.52 kB / 0.878 GB, free: 4.312 MB / 426.7 MB Notification: Performance of pre-optimization done (n=88): time 4.043e-06/0.4862, allocations: 0 / 0.878 GB, free: 4.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=88): time 0.003592/0.4898, allocations: 1.506 MB / 0.8794 GB, free: 2.805 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.4899, allocations: 64.41 kB / 0.8795 GB, free: 2.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00305/0.493, allocations: 1.57 MB / 0.881 GB, free: 1.148 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002277/0.4933, allocations: 53.7 kB / 0.8811 GB, free: 1.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009318/0.4942, allocations: 0.7495 MB / 0.8818 GB, free: 340 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000475/0.4947, allocations: 315.6 kB / 0.8821 GB, free: 20 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.4948, allocations: 24.08 kB / 0.8821 GB, free: 15.99 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002386/0.4951, allocations: 365.9 kB / 0.8825 GB, free: 15.63 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/0.4966, allocations: 0.6714 MB / 0.8832 GB, free: 14.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001877/0.4985, allocations: 1.02 MB / 0.8841 GB, free: 13.81 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/0.5004, allocations: 0.8728 MB / 0.885 GB, free: 12.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/0.5005, allocations: 4 kB / 0.885 GB, free: 12.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004839/0.5053, allocations: 1.935 MB / 0.8869 GB, free: 10.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003421/0.5057, allocations: 365.2 kB / 0.8872 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.5058, allocations: 8 kB / 0.8873 GB, free: 10.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.775e-05/0.5058, allocations: 16 kB / 0.8873 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/0.5077, allocations: 335.5 kB / 0.8876 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.779e-05/0.5078, allocations: 23.92 kB / 0.8876 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/0.5097, allocations: 222 kB / 0.8878 GB, free: 9.906 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002174/0.5099, allocations: 59.98 kB / 0.8879 GB, free: 9.848 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.51, allocations: 6.656 kB / 0.8879 GB, free: 9.844 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003913/0.5139, allocations: 1.784 MB / 0.8896 GB, free: 8.059 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/0.5139, allocations: 11.98 kB / 0.8896 GB, free: 8.047 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.514, allocations: 16 kB / 0.8897 GB, free: 8.031 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/0.5159, allocations: 331.5 kB / 0.89 GB, free: 7.707 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.119e-05/0.5159, allocations: 27.86 kB / 0.89 GB, free: 7.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.5175, allocations: 190.8 kB / 0.8902 GB, free: 7.492 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/0.5177, allocations: 59.98 kB / 0.8902 GB, free: 7.434 MB / 442.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001486/0.5192, allocations: 0.7502 MB / 0.891 GB, free: 6.672 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005041/0.5198, allocations: 150.2 kB / 0.8911 GB, free: 6.523 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/0.5226, allocations: 1.267 MB / 0.8923 GB, free: 5.238 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/0.5227, allocations: 11.98 kB / 0.8924 GB, free: 5.227 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.177e-06/0.5227, allocations: 0 / 0.8924 GB, free: 5.227 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002201/0.5249, allocations: 1.288 MB / 0.8936 GB, free: 3.852 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006255/0.5312, allocations: 2.923 MB / 0.8965 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.917e-06/0.5313, allocations: 0 / 0.8965 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.5325, allocations: 183.8 kB / 0.8966 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.298e-05/0.5325, allocations: 4 kB / 0.8967 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.324e-05/0.5326, allocations: 32.06 kB / 0.8967 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.69e-06/0.5326, allocations: 8 kB / 0.8967 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.888e-06/0.5326, allocations: 4.062 kB / 0.8967 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003843/0.5365, allocations: 1.905 MB / 0.8986 GB, free: 14.69 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/0.5377, allocations: 426.8 kB / 0.899 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003256/0.5381, allocations: 20 kB / 0.899 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.5394, allocations: 83.62 kB / 0.8991 GB, free: 14.15 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.5395, allocations: 56.86 kB / 0.8991 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.5397, allocations: 31.98 kB / 0.8991 GB, free: 14.06 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002437/0.5421, allocations: 1.178 MB / 0.9003 GB, free: 12.89 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.033e-06/0.5421, allocations: 4 kB / 0.9003 GB, free: 12.88 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003304/0.5455, allocations: 0.8968 MB / 0.9012 GB, free: 11.98 MB / 458.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 (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.0009227/0.5464, allocations: 350.5 kB / 0.9015 GB, free: 11.64 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005033/0.5515, allocations: 2.309 MB / 0.9038 GB, free: 9.34 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.321e-06/0.5515, allocations: 0 / 0.9038 GB, free: 9.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.5526, allocations: 0.517 MB / 0.9043 GB, free: 8.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005002/0.5576, allocations: 0.8732 MB / 0.9051 GB, free: 7.965 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008207/0.5659, allocations: 4.341 MB / 0.9094 GB, free: 3.578 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001883/0.5678, allocations: 1.692 MB / 0.911 GB, free: 1.852 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003847/0.5717, allocations: 0.916 MB / 0.9119 GB, free: 0.9414 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005556/0.5723, allocations: 131.4 kB / 0.912 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of SimCode: time 4.063e-06/0.5723, allocations: 0 / 0.912 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of Templates: time 0.4742/1.046, allocations: 32.91 MB / 0.9442 GB, free: 104 MB / 474.7 MB