Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Storage.Validation.HeatExchangerLocation.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.Validation.HeatExchangerLocation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Storage.Validation.HeatExchangerLocation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002391/0.002395, allocations: 354.9 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.391/1.391, allocations: 165.8 MB / 182.5 MB, free: 5.395 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.847/3.847, allocations: 410.8 MB / 0.5995 GB, free: 15.27 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.001711/0.001711, allocations: 194.5 kB / 0.6662 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004627/0.000463, allocations: 15.94 kB / 0.7423 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3349, allocations: 67.44 MB / 0.8081 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.HeatExchangerLocation): time 0.1349/0.4698, allocations: 101 MB / 0.9068 GB, free: 7.473 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4565/0.9264, allocations: 29.07 MB / 0.9352 GB, free: 8.223 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005414/0.9318, allocations: 123.5 kB / 0.9353 GB, free: 8.223 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005695/0.9376, allocations: 1.441 MB / 0.9367 GB, free: 8.219 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01597/0.9536, allocations: 4.3 MB / 0.9409 GB, free: 8.164 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01188/0.9655, allocations: 3.197 MB / 0.9441 GB, free: 8.086 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.06605/1.032, allocations: 60.53 MB / 1.003 GB, free: 4.844 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0388/1.07, allocations: 18.85 MB / 1.022 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02929/1.1, allocations: 13.22 MB / 1.034 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0292/1.129, allocations: 14.12 MB / 1.048 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0055/1.135, allocations: 0.9062 MB / 1.049 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01521/1.15, allocations: 2.243 MB / 1.051 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.008983/1.159, allocations: 3.972 MB / 1.055 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.01115/1.17, allocations: 4.312 MB / 1.059 GB, free: 2.77 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.04668/1.217, allocations: 31.47 MB / 1.09 GB, free: 3.98 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.419e-06/1.217, allocations: 4 kB / 1.09 GB, free: 3.977 MB / 0.5573 GB Notification: Performance of FrontEnd: time 4.677e-06/1.217, allocations: 4 kB / 1.09 GB, free: 3.973 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0008277/1.218, allocations: 7.5 kB / 1.09 GB, free: 3.969 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4015 * Number of variables: 4015 Notification: Performance of Generate backend data structure: time 0.05342/1.271, allocations: 18.49 MB / 1.108 GB, free: 1.527 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/1.271, allocations: 8.031 kB / 1.108 GB, free: 1.52 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/1.283, allocations: 2.279 MB / 1.11 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05302/1.336, allocations: 18.29 MB / 1.128 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001706/1.338, allocations: 1.179 MB / 1.129 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005448/1.343, allocations: 1.583 MB / 1.131 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06639/1.41, allocations: 24 MB / 1.154 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007673/1.41, allocations: 59.48 kB / 1.155 GB, free: 1.773 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004337/1.415, allocations: 0.6559 MB / 1.155 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006538/1.416, allocations: 467.8 kB / 1.156 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.751/2.167, allocations: 21.09 MB / 1.176 GB, free: 220.4 MB / 0.6199 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.1593/2.326, allocations: 99.38 MB / 1.273 GB, free: 123.6 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02789/2.354, allocations: 14.79 MB / 1.288 GB, free: 108.9 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01727/2.371, allocations: 9.464 MB / 1.297 GB, free: 99.38 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06625/2.437, allocations: 28.1 MB / 1.324 GB, free: 70.54 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/2.438, allocations: 154.5 kB / 1.325 GB, free: 70.38 MB / 0.6199 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007783/2.445, allocations: 0.9146 MB / 1.325 GB, free: 69.46 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=893): time 3.033e-05/2.446, allocations: 0 / 1.325 GB, free: 69.46 MB / 0.6199 GB Notification: Performance of matching and sorting (n=893): time 0.04669/2.492, allocations: 19.38 MB / 1.344 GB, free: 49.99 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/2.492, allocations: 146.4 kB / 1.344 GB, free: 49.83 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0282/2.521, allocations: 13.79 MB / 1.358 GB, free: 36.09 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.001919/2.523, allocations: 217.7 kB / 1.358 GB, free: 35.87 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.008499/2.531, allocations: 8.121 MB / 1.366 GB, free: 27.73 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.004466/2.536, allocations: 3.107 MB / 1.369 GB, free: 24.65 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002001/2.538, allocations: 268 kB / 1.369 GB, free: 24.39 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.001013/2.539, allocations: 0.8356 MB / 1.37 GB, free: 23.54 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01422/2.553, allocations: 6.708 MB / 1.377 GB, free: 16.82 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01698/2.57, allocations: 10.74 MB / 1.387 GB, free: 4.316 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7485/3.318, allocations: 8.892 MB / 1.396 GB, free: 202.7 MB / 0.62 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001284/3.319, allocations: 35.88 kB / 1.396 GB, free: 202.7 MB / 0.62 GB Notification: Performance of matching and sorting (n=1659) (initialization): time 0.04853/3.367, allocations: 19.76 MB / 1.415 GB, free: 195.8 MB / 0.62 GB Notification: Performance of prepare postOptimizeDAE: time 0.001869/3.369, allocations: 3.792 MB / 1.419 GB, free: 190.7 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001922/3.369, allocations: 122.4 kB / 1.419 GB, free: 190.7 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002485/3.372, allocations: 0.8181 MB / 1.42 GB, free: 190.6 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01626/3.388, allocations: 2.969 MB / 1.423 GB, free: 190.3 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/3.399, allocations: 7.846 MB / 1.43 GB, free: 185.1 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01641/3.415, allocations: 1.149 MB / 1.432 GB, free: 184.9 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002789/3.418, allocations: 0.5955 MB / 1.432 GB, free: 184.7 MB / 0.62 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/3.418, allocations: 5.562 kB / 1.432 GB, free: 184.7 MB / 0.62 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04165/3.46, allocations: 18.56 MB / 1.45 GB, free: 176.1 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003328/3.46, allocations: 124 kB / 1.45 GB, free: 176 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002306/3.462, allocations: 0.7907 MB / 1.451 GB, free: 175.3 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01544/3.478, allocations: 2.977 MB / 1.454 GB, free: 172.8 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01318/3.491, allocations: 8.893 MB / 1.463 GB, free: 164 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01568/3.507, allocations: 1.108 MB / 1.464 GB, free: 163 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002851/3.51, allocations: 0.5975 MB / 1.464 GB, free: 162.4 MB / 0.62 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 561 * 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 (1607): * Single equations (assignments): 1604 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 24,(1,100.0%) 24} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.01483/3.524, allocations: 6.914 MB / 1.471 GB, free: 155.5 MB / 0.62 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004563/3.529, allocations: 1.355 MB / 1.472 GB, free: 154.5 MB / 0.62 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03565/3.565, allocations: 14.6 MB / 1.487 GB, free: 139.9 MB / 0.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.491e-05/3.565, allocations: 95.98 kB / 1.487 GB, free: 139.8 MB / 0.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-05/3.565, allocations: 7.953 kB / 1.487 GB, free: 139.8 MB / 0.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02747/3.592, allocations: 12.15 MB / 1.499 GB, free: 127.6 MB / 0.62 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 postOpt removeSimpleEquations (simulation): time 0.08102/3.673, allocations: 32.37 MB / 1.53 GB, free: 95.31 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.353e-05/3.674, allocations: 5.422 kB / 1.53 GB, free: 95.31 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01138/3.685, allocations: 1.803 MB / 1.532 GB, free: 93.5 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001814/3.687, allocations: 0.6156 MB / 1.533 GB, free: 92.88 MB / 0.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001743/3.689, allocations: 235.9 kB / 1.533 GB, free: 92.65 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009623/3.698, allocations: 7.622 MB / 1.54 GB, free: 84.76 MB / 0.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.365e-06/3.698, allocations: 4 kB / 1.54 GB, free: 84.75 MB / 0.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04282/3.741, allocations: 22.12 MB / 1.562 GB, free: 62.53 MB / 0.62 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01196/3.753, allocations: 3.359 MB / 1.565 GB, free: 59.16 MB / 0.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004812/3.758, allocations: 192 kB / 1.565 GB, free: 58.97 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01363/3.772, allocations: 0.9877 MB / 1.566 GB, free: 58.02 MB / 0.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002086/3.774, allocations: 0.5179 MB / 1.567 GB, free: 57.5 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002047/3.776, allocations: 371.7 kB / 1.567 GB, free: 57.14 MB / 0.62 GB Notification: Performance of sorting global known variables: time 0.02137/3.797, allocations: 10.01 MB / 1.577 GB, free: 47.19 MB / 0.62 GB Notification: Performance of sort global known variables: time 1.913e-06/3.797, allocations: 0 / 1.577 GB, free: 47.19 MB / 0.62 GB Notification: Performance of remove unused functions: time 0.0427/3.84, allocations: 9.249 MB / 1.586 GB, free: 38.23 MB / 0.62 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 48 (tan_aTop.vol[1].dynBal.U,tan_aTop.vol[2].dynBal.U,tan_aTop.vol[3].dynBal.U,tan_aTop.vol[4].dynBal.U,tan_aTop.vol[5].dynBal.U,tan_aTop.vol[6].dynBal.U,tan_aTop.vol[7].dynBal.U,tan_aTop.vol[8].dynBal.U,tan_aTop.vol[9].dynBal.U,tan_aTop.vol[10].dynBal.U,tan_aTop.vol[11].dynBal.U,tan_aTop.vol[12].dynBal.U,tan_aTop.indTanHex.vol[1].dynBal.U,tan_aTop.indTanHex.vol[2].dynBal.U,tan_aTop.indTanHex.vol[3].dynBal.U,tan_aTop.indTanHex.vol[4].dynBal.U,tan_aTop.indTanHex.vol[5].dynBal.U,tan_aTop.indTanHex.vol[6].dynBal.U,tan_aTop.indTanHex.cap[1].T,tan_aTop.indTanHex.cap[2].T,tan_aTop.indTanHex.cap[3].T,tan_aTop.indTanHex.cap[4].T,tan_aTop.indTanHex.cap[5].T,tan_aTop.indTanHex.cap[6].T,tan_bTop.vol[1].dynBal.U,tan_bTop.vol[2].dynBal.U,tan_bTop.vol[3].dynBal.U,tan_bTop.vol[4].dynBal.U,tan_bTop.vol[5].dynBal.U,tan_bTop.vol[6].dynBal.U,tan_bTop.vol[7].dynBal.U,tan_bTop.vol[8].dynBal.U,tan_bTop.vol[9].dynBal.U,tan_bTop.vol[10].dynBal.U,tan_bTop.vol[11].dynBal.U,tan_bTop.vol[12].dynBal.U,tan_bTop.indTanHex.vol[1].dynBal.U,tan_bTop.indTanHex.vol[2].dynBal.U,tan_bTop.indTanHex.vol[3].dynBal.U,tan_bTop.indTanHex.vol[4].dynBal.U,tan_bTop.indTanHex.vol[5].dynBal.U,tan_bTop.indTanHex.vol[6].dynBal.U,tan_bTop.indTanHex.cap[1].T,tan_bTop.indTanHex.cap[2].T,tan_bTop.indTanHex.cap[3].T,tan_bTop.indTanHex.cap[4].T,tan_bTop.indTanHex.cap[5].T,tan_bTop.indTanHex.cap[6].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 (862): * Single equations (assignments): 850 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 24,(1,100.0%) 24} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003601/3.844, allocations: 0.9735 MB / 1.587 GB, free: 37.37 MB / 0.62 GB Notification: Performance of simCode: created initialization part: time 0.05152/3.895, allocations: 25.39 MB / 1.612 GB, free: 11.95 MB / 0.62 GB Notification: Performance of simCode: created event and clocks part: time 1.719e-05/3.895, allocations: 9 kB / 1.612 GB, free: 11.94 MB / 0.62 GB Notification: Performance of simCode: created simulation system equations: time 0.0169/3.912, allocations: 6.72 MB / 1.618 GB, free: 5.199 MB / 0.62 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4295/4.342, allocations: 8.717 MB / 1.627 GB, free: 194.6 MB / 0.62 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1207/4.462, allocations: 45.66 MB / 1.671 GB, free: 174.8 MB / 0.62 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02768/4.49, allocations: 11.83 MB / 1.683 GB, free: 170 MB / 0.62 GB Notification: Performance of simCode: alias equations: time 0.04523/4.535, allocations: 8.914 MB / 1.692 GB, free: 161.6 MB / 0.62 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006077/4.542, allocations: 1.171 MB / 1.693 GB, free: 160.5 MB / 0.62 GB Notification: Performance of SimCode: time 1.75e-06/4.542, allocations: 0 / 1.693 GB, free: 160.5 MB / 0.62 GB Notification: Performance of Templates: time 1.045/5.587, allocations: 295.5 MB / 1.981 GB, free: 103 MB / 0.6356 GB