Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="IDEAS_dev_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.001583/0.001583, allocations: 100.2 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.002076/0.002076, 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.389/2.389, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.774/1.774, allocations: 135.2 MB / 426.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006551/0.0006555, allocations: 11.94 kB / 0.5069 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3147, allocations: 82.31 MB / 0.5873 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.7518/1.067, allocations: 31.63 MB / 0.6182 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02071/1.087, allocations: 8.263 MB / 0.6262 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00376/1.091, allocations: 38.88 kB / 0.6263 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0036/1.095, allocations: 0.5249 MB / 0.6268 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01612/1.111, allocations: 1.602 MB / 0.6283 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00999/1.121, allocations: 1.32 MB / 0.6296 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01076/1.132, allocations: 4.461 MB / 0.634 GB, free: 27.19 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006035/1.138, allocations: 2.764 MB / 0.6367 GB, free: 26.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006441/1.144, allocations: 1.84 MB / 0.6385 GB, free: 25.4 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005508/1.15, allocations: 1.555 MB / 0.64 GB, free: 24.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.00126/1.151, allocations: 134.6 kB / 0.6401 GB, free: 24.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005686/1.157, allocations: 0.6728 MB / 0.6408 GB, free: 24.58 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00203/1.159, allocations: 0.5665 MB / 0.6413 GB, free: 24.29 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002634/1.162, allocations: 0.6497 MB / 0.642 GB, free: 23.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009195/1.171, allocations: 3.944 MB / 0.6458 GB, free: 23.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.171, allocations: 0 / 0.6458 GB, free: 23.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.853e-06/1.171, allocations: 0 / 0.6458 GB, free: 23.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002628/1.171, allocations: 4 kB / 0.6458 GB, free: 23.11 MB / 0.4981 GB 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.01328/1.185, allocations: 3.001 MB / 0.6488 GB, free: 21.45 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 9.049e-05/1.185, allocations: 9.438 kB / 0.6488 GB, free: 21.45 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002541/1.187, allocations: 338.6 kB / 0.6491 GB, free: 21.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003701/1.191, allocations: 353.5 kB / 0.6494 GB, free: 21.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01255/1.204, allocations: 2.412 MB / 0.6518 GB, free: 19.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006486/1.204, allocations: 177.2 kB / 0.652 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002054/1.207, allocations: 232.5 kB / 0.6522 GB, free: 19.72 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01734/1.224, allocations: 3.199 MB / 0.6553 GB, free: 18.36 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000254/1.224, allocations: 8.188 kB / 0.6553 GB, free: 18.35 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001975/1.226, allocations: 102.6 kB / 0.6554 GB, free: 18.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002338/1.227, allocations: 67.39 kB / 0.6555 GB, free: 18.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/1.239, allocations: 2.568 MB / 0.658 GB, free: 17.39 MB / 0.4981 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.04095/1.28, allocations: 13.85 MB / 0.6715 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005267/1.285, allocations: 1.619 MB / 0.6731 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/1.287, allocations: 0.7274 MB / 0.6738 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.107e-05/1.287, allocations: 58.53 kB / 0.6739 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003036/1.29, allocations: 194.1 kB / 0.674 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=126): time 1.293e-05/1.29, allocations: 0 / 0.674 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=126): time 0.01676/1.307, allocations: 3.488 MB / 0.6774 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/1.307, allocations: 141.8 kB / 0.6776 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008139/1.315, allocations: 2.13 MB / 0.6797 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009457/1.316, allocations: 53.42 kB / 0.6797 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002936/1.319, allocations: 1.256 MB / 0.6809 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001421/1.32, allocations: 445.4 kB / 0.6814 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004935/1.321, allocations: 34.41 kB / 0.6814 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003337/1.321, allocations: 381.2 kB / 0.6818 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002868/1.324, allocations: 0.7369 MB / 0.6825 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003116/1.327, allocations: 1.235 MB / 0.6837 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002831/1.33, allocations: 0.9553 MB / 0.6846 GB, free: 128 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.421e-05/1.33, allocations: 4.156 kB / 0.6846 GB, free: 128 kB / 0.4981 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.008589/1.339, allocations: 2.423 MB / 0.687 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.002949/1.342, allocations: 5.7 MB / 0.6926 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.268e-05/1.342, allocations: 18.53 kB / 0.6926 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003435/1.345, allocations: 0.5238 MB / 0.6931 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002407/1.348, allocations: 349.1 kB / 0.6934 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005585/1.353, allocations: 3.162 MB / 0.6965 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004396/1.358, allocations: 233.3 kB / 0.6967 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000679/1.358, allocations: 77.83 kB / 0.6968 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/1.359, allocations: 2.781 kB / 0.6968 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009853/1.368, allocations: 2.2 MB / 0.699 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001257/1.369, allocations: 14.19 kB / 0.699 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/1.37, allocations: 250.5 kB / 0.6992 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003161/1.373, allocations: 367.8 kB / 0.6996 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008485/1.382, allocations: 4.219 MB / 0.7037 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004814/1.387, allocations: 220.1 kB / 0.7039 GB, free: 436 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006626/1.387, allocations: 82.47 kB / 0.704 GB, free: 416 kB / 0.5137 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.004046/1.391, allocations: 1.011 MB / 0.705 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001618/1.393, allocations: 208.4 kB / 0.7052 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008205/1.401, allocations: 2.087 MB / 0.7072 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.812e-05/1.401, allocations: 19.92 kB / 0.7072 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.006e-05/1.401, allocations: 0 / 0.7072 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004814/1.406, allocations: 1.676 MB / 0.7088 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01993/1.426, allocations: 4.716 MB / 0.7135 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/1.426, allocations: 256 / 0.7135 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/1.428, allocations: 199.8 kB / 0.7136 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002555/1.43, allocations: 443.9 kB / 0.7141 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003026/1.431, allocations: 39.97 kB / 0.7141 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005457/1.436, allocations: 3.082 MB / 0.7171 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/1.436, allocations: 0 / 0.7171 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/1.447, allocations: 3.067 MB / 0.7201 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003211/1.45, allocations: 0.5414 MB / 0.7206 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001275/1.451, allocations: 31.94 kB / 0.7207 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003788/1.455, allocations: 203.5 kB / 0.7209 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005583/1.456, allocations: 109.1 kB / 0.721 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000411/1.456, allocations: 56.06 kB / 0.721 GB, free: 160 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005191/1.461, allocations: 1.475 MB / 0.7225 GB, free: 14.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.71e-07/1.461, allocations: 0 / 0.7225 GB, free: 14.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01056/1.472, allocations: 1.488 MB / 0.7239 GB, free: 13.17 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.01381/1.486, allocations: 4.091 MB / 0.7279 GB, free: 9.043 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009329/1.495, allocations: 3.384 MB / 0.7312 GB, free: 5.629 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.739e-05/1.495, allocations: 4 kB / 0.7312 GB, free: 5.625 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002667/1.498, allocations: 1.021 MB / 0.7322 GB, free: 4.598 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01358/1.512, allocations: 1.127 MB / 0.7333 GB, free: 3.488 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02958/1.541, allocations: 17.28 MB / 0.7502 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003734/1.545, allocations: 2.226 MB / 0.7524 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006164/1.551, allocations: 0.9369 MB / 0.7533 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003162/1.555, allocations: 1.03 MB / 0.7543 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of SimCode: time 2.795e-06/1.555, allocations: 0 / 0.7543 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.206/1.761, allocations: 66.72 MB / 0.8194 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004778/1.761, allocations: 270.3 kB / 0.8197 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.387/8.148, allocations: 0 / 0.8197 GB, free: 11.18 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1) Environment - environmentSimulation: