Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="IBPSA_latest_IBPSA_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.001084/0.001084, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 184.8 kB / 16.92 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6757/0.6757, allocations: 115.5 MB / 407.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002858/0.0002859, allocations: 8 kB / 496 MB, free: 6.219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1205, allocations: 77.53 MB / 0.56 GB, free: 8.891 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.2604/0.381, allocations: 27.67 MB / 0.5871 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009402/0.3904, allocations: 7.883 MB / 0.5948 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008002/0.3912, allocations: 31.31 kB / 0.5948 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008169/0.3921, allocations: 329.2 kB / 0.5951 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.3941, allocations: 0.9311 MB / 0.596 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002269/0.3964, allocations: 0.9356 MB / 0.5969 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005754/0.4022, allocations: 6.095 MB / 0.6029 GB, free: 9.066 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002295/0.4045, allocations: 1.789 MB / 0.6046 GB, free: 8.406 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002163/0.4067, allocations: 1.324 MB / 0.6059 GB, free: 7.918 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.4082, allocations: 1.299 MB / 0.6072 GB, free: 7.465 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001728/0.4084, allocations: 82.12 kB / 0.6073 GB, free: 7.461 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.4107, allocations: 1.138 MB / 0.6084 GB, free: 7.164 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003166/0.411, allocations: 375.8 kB / 0.6087 GB, free: 6.988 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009732/0.412, allocations: 0.9868 MB / 0.6097 GB, free: 6.418 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003133/0.4151, allocations: 3.467 MB / 0.6131 GB, free: 5.148 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.4151, allocations: 0 / 0.6131 GB, free: 5.148 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4151, allocations: 0 / 0.6131 GB, free: 5.148 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.506e-05/0.4152, allocations: 0 / 0.6131 GB, free: 5.148 MB / 446.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.003776/0.419, allocations: 2.141 MB / 0.6152 GB, free: 19.65 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.419, allocations: 10.31 kB / 0.6152 GB, free: 19.65 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002393/0.4193, allocations: 210.3 kB / 0.6154 GB, free: 19.49 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006716/0.4199, allocations: 230 kB / 0.6156 GB, free: 19.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002332/0.4223, allocations: 1.777 MB / 0.6173 GB, free: 18.16 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.131e-05/0.4224, allocations: 115.4 kB / 0.6175 GB, free: 18.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/0.4226, allocations: 156.3 kB / 0.6176 GB, free: 18.05 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/0.4253, allocations: 1.995 MB / 0.6195 GB, free: 16.83 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.4253, allocations: 6.031 kB / 0.6196 GB, free: 16.83 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/0.4255, allocations: 57.19 kB / 0.6196 GB, free: 16.79 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.537e-05/0.4255, allocations: 36.34 kB / 0.6196 GB, free: 16.79 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0024/0.4279, allocations: 1.8 MB / 0.6214 GB, free: 15.86 MB / 462.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.009924/0.4379, allocations: 7.622 MB / 0.6288 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.4395, allocations: 1.445 MB / 0.6303 GB, free: 9.336 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007923/0.4403, allocations: 0.6636 MB / 0.6309 GB, free: 8.996 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005759/0.4461, allocations: 3.849 MB / 0.6347 GB, free: 5.578 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.4462, allocations: 43.56 kB / 0.6347 GB, free: 5.527 MB / 462.1 MB Notification: Performance of pre-optimization done (n=88): time 2.405e-06/0.4462, allocations: 0 / 0.6347 GB, free: 5.527 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.002284/0.4485, allocations: 1.506 MB / 0.6362 GB, free: 4.031 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.4485, allocations: 64.41 kB / 0.6362 GB, free: 3.957 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.4505, allocations: 1.61 MB / 0.6378 GB, free: 2.336 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.829e-05/0.4506, allocations: 49.69 kB / 0.6379 GB, free: 2.281 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005768/0.4512, allocations: 0.7526 MB / 0.6386 GB, free: 1.527 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/0.4514, allocations: 318.2 kB / 0.6389 GB, free: 1.219 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.4516, allocations: 129.6 kB / 0.639 GB, free: 1.086 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4518, allocations: 357.9 kB / 0.6394 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009724/0.4527, allocations: 0.6908 MB / 0.64 GB, free: 40 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.4539, allocations: 1.016 MB / 0.641 GB, free: 14.89 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001975/0.4559, allocations: 1.624 MB / 0.6426 GB, free: 13.15 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.4559, allocations: 7.938 kB / 0.6426 GB, free: 13.14 MB / 478.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002772/0.4587, allocations: 1.955 MB / 0.6445 GB, free: 11.18 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001903/0.4589, allocations: 361.6 kB / 0.6449 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.4589, allocations: 8 kB / 0.6449 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.459, allocations: 16 kB / 0.6449 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.4602, allocations: 335.5 kB / 0.6452 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.386e-05/0.4602, allocations: 27.92 kB / 0.6452 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.4615, allocations: 218 kB / 0.6455 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.4616, allocations: 67.97 kB / 0.6455 GB, free: 10.04 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.042e-06/0.4616, allocations: 3.938 kB / 0.6455 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002492/0.4641, allocations: 1.795 MB / 0.6473 GB, free: 8.238 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.4642, allocations: 8 kB / 0.6473 GB, free: 8.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.4642, allocations: 16 kB / 0.6473 GB, free: 8.215 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.4654, allocations: 335.5 kB / 0.6476 GB, free: 7.887 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.239e-05/0.4654, allocations: 23.92 kB / 0.6476 GB, free: 7.863 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.4665, allocations: 187 kB / 0.6478 GB, free: 7.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.4666, allocations: 59.98 kB / 0.6479 GB, free: 7.621 MB / 478.1 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.001002/0.4676, allocations: 0.7542 MB / 0.6486 GB, free: 6.855 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002521/0.4679, allocations: 158 kB / 0.6488 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/0.4698, allocations: 1.268 MB / 0.65 GB, free: 5.418 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.4698, allocations: 8 kB / 0.65 GB, free: 5.41 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.4698, allocations: 4 kB / 0.65 GB, free: 5.406 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001418/0.4713, allocations: 1.296 MB / 0.6513 GB, free: 4.027 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003896/0.4752, allocations: 2.932 MB / 0.6541 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.4752, allocations: 4 kB / 0.6541 GB, free: 1.031 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000775/0.476, allocations: 179.8 kB / 0.6543 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.476, allocations: 12.06 kB / 0.6543 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.682e-05/0.476, allocations: 23.98 kB / 0.6544 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.4761, allocations: 4 kB / 0.6544 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.4761, allocations: 4 kB / 0.6544 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002388/0.4785, allocations: 1.92 MB / 0.6562 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006011/0.4791, allocations: 426.8 kB / 0.6566 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.4793, allocations: 20 kB / 0.6567 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008921/0.4802, allocations: 87.88 kB / 0.6567 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.676e-05/0.4803, allocations: 52.86 kB / 0.6568 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-05/0.4804, allocations: 35.98 kB / 0.6568 GB, free: 14.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001503/0.4819, allocations: 1.207 MB / 0.658 GB, free: 13.03 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4819, allocations: 3.938 kB / 0.658 GB, free: 13.03 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002195/0.4841, allocations: 0.9045 MB / 0.6589 GB, free: 12.12 MB / 494.1 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.003254/0.4873, allocations: 2.718 MB / 0.6615 GB, free: 9.391 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003175/0.4905, allocations: 2.321 MB / 0.6638 GB, free: 7.074 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4905, allocations: 0 / 0.6638 GB, free: 7.074 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006661/0.4912, allocations: 0.5248 MB / 0.6643 GB, free: 6.551 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003977/0.4952, allocations: 0.8767 MB / 0.6652 GB, free: 5.699 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02841/0.5236, allocations: 16.61 MB / 0.6814 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/0.5249, allocations: 1.682 MB / 0.683 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002552/0.5274, allocations: 0.9191 MB / 0.6839 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009229/0.5284, allocations: 0.6203 MB / 0.6845 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of SimCode: time 7.21e-07/0.5284, allocations: 0 / 0.6845 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.11/2.638, allocations: 47.01 MB / 0.7305 GB, free: 2.762 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003288/2.639, allocations: 262.7 kB / 0.7307 GB, free: 2.418 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.957/5.596, allocations: 8 kB / 0.7307 GB, free: 2.41 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)