Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.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.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",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.001612/0.001612, allocations: 100.5 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.002561/0.002561, allocations: 177.3 kB / 15.94 MB, free: 228 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.317/2.317, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.41/1.41, allocations: 132.3 MB / 423.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007653/0.0007655, allocations: 8 kB / 0.5033 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8398/0.8406, allocations: 81.58 MB / 0.583 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.07021/0.9109, allocations: 31.65 MB / 0.6139 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02584/0.9368, allocations: 8.264 MB / 0.6219 GB, free: 6.395 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004842/0.9418, allocations: 43.16 kB / 0.622 GB, free: 6.375 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004227/0.9461, allocations: 0.5258 MB / 0.6225 GB, free: 5.918 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01264/0.9587, allocations: 1.587 MB / 0.624 GB, free: 4.586 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009175/0.9679, allocations: 1.328 MB / 0.6253 GB, free: 3.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01828/0.9863, allocations: 4.466 MB / 0.6297 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009256/0.9956, allocations: 2.754 MB / 0.6324 GB, free: 13.86 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009428/1.005, allocations: 1.849 MB / 0.6342 GB, free: 12.01 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006738/1.012, allocations: 1.56 MB / 0.6357 GB, free: 10.44 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001736/1.014, allocations: 132 kB / 0.6358 GB, free: 10.31 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00678/1.021, allocations: 0.6672 MB / 0.6365 GB, free: 9.645 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002338/1.023, allocations: 0.5721 MB / 0.6371 GB, free: 9.07 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003292/1.026, allocations: 0.6485 MB / 0.6377 GB, free: 8.414 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01212/1.038, allocations: 3.951 MB / 0.6415 GB, free: 4.453 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/1.039, allocations: 0 / 0.6415 GB, free: 4.453 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.524e-06/1.039, allocations: 0 / 0.6415 GB, free: 4.453 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003287/1.039, allocations: 0 / 0.6415 GB, free: 4.453 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.01578/1.055, allocations: 2.996 MB / 0.6445 GB, free: 1.391 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.832e-05/1.055, allocations: 19.97 kB / 0.6445 GB, free: 1.371 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002452/1.057, allocations: 340.9 kB / 0.6448 GB, free: 1.027 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003574/1.061, allocations: 352 kB / 0.6451 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/1.072, allocations: 2.404 MB / 0.6475 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003992/1.072, allocations: 176.5 kB / 0.6477 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001282/1.074, allocations: 240 kB / 0.6479 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01433/1.088, allocations: 3.2 MB / 0.651 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002106/1.088, allocations: 7.859 kB / 0.651 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001288/1.09, allocations: 100 kB / 0.6511 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002062/1.09, allocations: 67.92 kB / 0.6512 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01141/1.101, allocations: 2.562 MB / 0.6537 GB, free: 7.727 MB / 494.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.03966/1.141, allocations: 13.85 MB / 0.6672 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005656/1.147, allocations: 1.623 MB / 0.6688 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001583/1.148, allocations: 0.7204 MB / 0.6695 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001012/1.149, allocations: 55.5 kB / 0.6696 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003169/1.152, allocations: 202.6 kB / 0.6697 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=126): time 3.313e-05/1.152, allocations: 3.984 kB / 0.6698 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=126): time 0.01821/1.17, allocations: 3.482 MB / 0.6732 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/1.17, allocations: 145.5 kB / 0.6733 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007195/1.177, allocations: 2.128 MB / 0.6754 GB, free: 184 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006113/1.178, allocations: 61.69 kB / 0.6754 GB, free: 116 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002504/1.181, allocations: 1.258 MB / 0.6767 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001268/1.182, allocations: 437.8 kB / 0.6771 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003511/1.182, allocations: 32 kB / 0.6771 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0003712/1.183, allocations: 381.8 kB / 0.6775 GB, free: 14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002571/1.185, allocations: 0.73 MB / 0.6782 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00322/1.189, allocations: 1.233 MB / 0.6794 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/1.192, allocations: 0.9587 MB / 0.6803 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.653e-05/1.192, allocations: 4 kB / 0.6803 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.008452/1.2, allocations: 2.421 MB / 0.6827 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.004426/1.205, allocations: 5.712 MB / 0.6883 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.819e-05/1.205, allocations: 16 kB / 0.6883 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00388/1.209, allocations: 0.5135 MB / 0.6888 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002617/1.211, allocations: 347.4 kB / 0.6891 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006694/1.218, allocations: 3.178 MB / 0.6922 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004477/1.223, allocations: 231.5 kB / 0.6924 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006264/1.223, allocations: 79.97 kB / 0.6925 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/1.223, allocations: 6.656 kB / 0.6925 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008114/1.231, allocations: 2.195 MB / 0.6947 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.959e-05/1.232, allocations: 12 kB / 0.6947 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/1.233, allocations: 238.3 kB / 0.6949 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002566/1.235, allocations: 375.3 kB / 0.6953 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008508/1.244, allocations: 4.216 MB / 0.6994 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004582/1.248, allocations: 227.5 kB / 0.6996 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007051/1.249, allocations: 76.23 kB / 0.6997 GB, free: 6.133 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,yTop.u,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.004256/1.254, allocations: 1.019 MB / 0.7007 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001333/1.255, allocations: 205.5 kB / 0.7009 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007635/1.263, allocations: 2.082 MB / 0.7029 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.001e-05/1.263, allocations: 12 kB / 0.7029 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/1.263, allocations: 0 / 0.7029 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004958/1.268, allocations: 1.671 MB / 0.7045 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0192/1.287, allocations: 4.723 MB / 0.7091 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-05/1.287, allocations: 0 / 0.7091 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/1.289, allocations: 203.7 kB / 0.7093 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003073/1.292, allocations: 441.7 kB / 0.7098 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004285/1.292, allocations: 39.97 kB / 0.7098 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006076/1.298, allocations: 3.077 MB / 0.7128 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.298, allocations: 0 / 0.7128 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009665/1.308, allocations: 3.063 MB / 0.7158 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002902/1.311, allocations: 0.5413 MB / 0.7163 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001106/1.312, allocations: 36.11 kB / 0.7164 GB, free: 4.664 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003636/1.316, allocations: 203.5 kB / 0.7166 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005062/1.316, allocations: 109 kB / 0.7167 GB, free: 4.355 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000378/1.317, allocations: 59.95 kB / 0.7167 GB, free: 4.297 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00506/1.322, allocations: 1.475 MB / 0.7182 GB, free: 2.801 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.61e-07/1.322, allocations: 0 / 0.7182 GB, free: 2.801 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01113/1.333, allocations: 1.488 MB / 0.7196 GB, free: 1.309 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,yTop.u,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.01227/1.345, allocations: 4.092 MB / 0.7236 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01083/1.356, allocations: 3.377 MB / 0.7269 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.078e-05/1.356, allocations: 4 kB / 0.7269 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003369/1.36, allocations: 1.036 MB / 0.7279 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01004/1.37, allocations: 1.122 MB / 0.729 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03316/1.403, allocations: 17.28 MB / 0.7459 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004798/1.408, allocations: 2.222 MB / 0.7481 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006577/1.415, allocations: 0.9457 MB / 0.749 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003466/1.418, allocations: 1.034 MB / 0.75 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of SimCode: time 2.705e-06/1.418, allocations: 0 / 0.75 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7973/2.216, allocations: 66.7 MB / 0.8151 GB, free: 194.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003164/2.216, allocations: 266.3 kB / 0.8154 GB, free: 194.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.675/7.891, allocations: 0 / 0.8154 GB, free: 194.4 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.fmu > IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1) Environment - environmentSimulation: