Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00197/0.001971, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.043/2.043, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.322/1.322, allocations: 132.2 MB / 423.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006416/0.0006416, allocations: 8 kB / 0.5033 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8713/0.872, allocations: 81.58 MB / 0.583 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.0607/0.9328, allocations: 23.98 MB / 0.6064 GB, free: 3.027 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02556/0.9584, allocations: 6.844 MB / 0.6131 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00304/0.9615, allocations: 29.41 kB / 0.6131 GB, free: 13.54 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00338/0.9649, allocations: 391.8 kB / 0.6135 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008955/0.9739, allocations: 1.025 MB / 0.6145 GB, free: 12.35 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009154/0.9831, allocations: 1.098 MB / 0.6155 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01381/0.997, allocations: 2.726 MB / 0.6182 GB, free: 9.812 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007731/1.005, allocations: 1.619 MB / 0.6198 GB, free: 8.914 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00727/1.012, allocations: 1.176 MB / 0.6209 GB, free: 8.234 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00415/1.016, allocations: 0.9326 MB / 0.6219 GB, free: 7.672 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008688/1.017, allocations: 77.75 kB / 0.6219 GB, free: 7.672 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006787/1.024, allocations: 0.8442 MB / 0.6227 GB, free: 7.293 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001803/1.026, allocations: 347.7 kB / 0.6231 GB, free: 7.039 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002345/1.028, allocations: 429.2 kB / 0.6235 GB, free: 6.801 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008336/1.037, allocations: 2.771 MB / 0.6262 GB, free: 4.219 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.037, allocations: 0 / 0.6262 GB, free: 4.219 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.517e-06/1.037, allocations: 0 / 0.6262 GB, free: 4.219 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001876/1.037, allocations: 0 / 0.6262 GB, free: 4.219 MB / 462.1 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.009705/1.047, allocations: 2.14 MB / 0.6283 GB, free: 2.023 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.918e-05/1.047, allocations: 8.031 kB / 0.6283 GB, free: 2.016 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001221/1.048, allocations: 206.8 kB / 0.6285 GB, free: 1.805 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/1.05, allocations: 233.5 kB / 0.6287 GB, free: 1.574 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006445/1.056, allocations: 1.636 MB / 0.6303 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000224/1.057, allocations: 114.7 kB / 0.6304 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008393/1.057, allocations: 151.9 kB / 0.6306 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007079/1.064, allocations: 1.97 MB / 0.6325 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.613e-05/1.065, allocations: 11.94 kB / 0.6325 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003338/1.065, allocations: 55.95 kB / 0.6326 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/1.065, allocations: 47.98 kB / 0.6326 GB, free: 13.47 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00548/1.071, allocations: 1.786 MB / 0.6343 GB, free: 11.68 MB / 478.1 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.02566/1.096, allocations: 7.696 MB / 0.6419 GB, free: 3.676 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004103/1.1, allocations: 1.453 MB / 0.6433 GB, free: 2.203 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01395/1.114, allocations: 3.881 MB / 0.6471 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/1.115, allocations: 39.56 kB / 0.6471 GB, free: 13.96 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 1.034e-05/1.115, allocations: 3.984 kB / 0.6471 GB, free: 13.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.005549/1.12, allocations: 1.51 MB / 0.6486 GB, free: 12.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.117e-05/1.12, allocations: 64.34 kB / 0.6486 GB, free: 12.37 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004891/1.125, allocations: 1.684 MB / 0.6503 GB, free: 10.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006389/1.126, allocations: 53.7 kB / 0.6503 GB, free: 10.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/1.127, allocations: 0.7537 MB / 0.6511 GB, free: 9.855 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006951/1.128, allocations: 311.5 kB / 0.6514 GB, free: 9.547 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/1.128, allocations: 32 kB / 0.6514 GB, free: 9.516 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002659/1.128, allocations: 361.9 kB / 0.6518 GB, free: 9.156 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00187/1.13, allocations: 0.6831 MB / 0.6524 GB, free: 8.473 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002259/1.132, allocations: 1.005 MB / 0.6534 GB, free: 7.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002133/1.135, allocations: 0.865 MB / 0.6542 GB, free: 6.473 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.606e-05/1.135, allocations: 8 kB / 0.6543 GB, free: 6.465 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005144/1.14, allocations: 1.928 MB / 0.6561 GB, free: 4.527 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002108/1.142, allocations: 3.523 MB / 0.6596 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/1.142, allocations: 12 kB / 0.6596 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.521e-05/1.142, allocations: 16 kB / 0.6596 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/1.144, allocations: 351.5 kB / 0.6599 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.889e-05/1.144, allocations: 15.94 kB / 0.66 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/1.146, allocations: 230 kB / 0.6602 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/1.146, allocations: 59.98 kB / 0.6602 GB, free: 100 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/1.146, allocations: 7.953 kB / 0.6602 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003021/1.149, allocations: 1.784 MB / 0.662 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/1.149, allocations: 19.92 kB / 0.662 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/1.149, allocations: 16 kB / 0.662 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/1.151, allocations: 347.5 kB / 0.6623 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.467e-05/1.151, allocations: 19.94 kB / 0.6624 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/1.153, allocations: 198.6 kB / 0.6626 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/1.153, allocations: 56 kB / 0.6626 GB, free: 13.66 MB / 0.4981 GB 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.001806/1.155, allocations: 0.7542 MB / 0.6633 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006023/1.156, allocations: 154.1 kB / 0.6635 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/1.158, allocations: 1.288 MB / 0.6647 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/1.158, allocations: 8 kB / 0.6648 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/1.158, allocations: 0 / 0.6648 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001745/1.16, allocations: 1.284 MB / 0.666 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006205/1.166, allocations: 2.955 MB / 0.6689 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/1.166, allocations: 0 / 0.6689 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008871/1.167, allocations: 183.8 kB / 0.6691 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.594e-05/1.167, allocations: 8 kB / 0.6691 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.16e-05/1.167, allocations: 28.11 kB / 0.6691 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.127e-05/1.167, allocations: 4 kB / 0.6691 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.167, allocations: 4 kB / 0.6691 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003609/1.171, allocations: 1.967 MB / 0.671 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/1.172, allocations: 442.7 kB / 0.6715 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002697/1.172, allocations: 27.94 kB / 0.6715 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009674/1.173, allocations: 85.64 kB / 0.6716 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/1.174, allocations: 48.92 kB / 0.6716 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.303e-05/1.174, allocations: 35.98 kB / 0.6716 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002515/1.176, allocations: 1.261 MB / 0.6729 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.176, allocations: 4 kB / 0.6729 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004543/1.181, allocations: 0.9164 MB / 0.6738 GB, free: 1.949 MB / 0.4981 GB 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.005325/1.186, allocations: 3.023 MB / 0.6767 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007151/1.193, allocations: 2.313 MB / 0.679 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/1.193, allocations: 0 / 0.679 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008346/1.194, allocations: 0.517 MB / 0.6795 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00481/1.199, allocations: 0.8552 MB / 0.6803 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/1.213, allocations: 11.55 MB / 0.6916 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/1.214, allocations: 1.713 MB / 0.6933 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003178/1.218, allocations: 0.9211 MB / 0.6942 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/1.219, allocations: 0.6125 MB / 0.6948 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of SimCode: time 1.372e-06/1.219, allocations: 0 / 0.6948 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1328/1.352, allocations: 49.12 MB / 0.7427 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003767/1.352, allocations: 230.7 kB / 0.743 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.129/6.481, allocations: 7.828 kB / 0.743 GB, free: 11.36 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) Environment - environmentSimulation: