Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="IBPSA_latest_IBPSA_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.001433/0.001434, allocations: 95.33 kB / 15.68 MB, free: 488 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.001857/0.001857, allocations: 176.7 kB / 16.57 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.598/2.598, allocations: 223.2 MB / 240.5 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.208/1.208, allocations: 113.7 MB / 405.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000516/0.000516, allocations: 8 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2718, allocations: 77.11 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.7439/1.016, allocations: 31.61 MB / 0.5876 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02624/1.042, allocations: 8.26 MB / 0.5956 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004369/1.047, allocations: 41.7 kB / 0.5957 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004616/1.051, allocations: 0.5258 MB / 0.5962 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01682/1.068, allocations: 1.596 MB / 0.5978 GB, free: 11.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01355/1.082, allocations: 1.324 MB / 0.5991 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02299/1.105, allocations: 4.482 MB / 0.6034 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01274/1.118, allocations: 2.748 MB / 0.6061 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01085/1.129, allocations: 1.837 MB / 0.6079 GB, free: 9.629 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008591/1.137, allocations: 1.562 MB / 0.6094 GB, free: 9.027 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001856/1.139, allocations: 132.5 kB / 0.6096 GB, free: 9.027 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008781/1.148, allocations: 0.673 MB / 0.6102 GB, free: 8.906 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003426/1.152, allocations: 0.5641 MB / 0.6108 GB, free: 8.648 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00495/1.157, allocations: 0.6525 MB / 0.6114 GB, free: 8.293 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01386/1.171, allocations: 3.947 MB / 0.6153 GB, free: 6.805 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/1.171, allocations: 3.781 kB / 0.6153 GB, free: 6.805 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.524e-06/1.171, allocations: 0 / 0.6153 GB, free: 6.805 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003202/1.171, allocations: 4 kB / 0.6153 GB, free: 6.801 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: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.01884/1.19, allocations: 3 MB / 0.6182 GB, free: 20.76 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001242/1.19, allocations: 9.406 kB / 0.6182 GB, free: 20.76 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00355/1.194, allocations: 340 kB / 0.6185 GB, free: 20.51 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005799/1.2, allocations: 360 kB / 0.6189 GB, free: 20.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01438/1.214, allocations: 2.406 MB / 0.6212 GB, free: 18.73 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000591/1.215, allocations: 175.3 kB / 0.6214 GB, free: 18.65 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002096/1.217, allocations: 236.3 kB / 0.6216 GB, free: 18.57 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0132/1.23, allocations: 3.204 MB / 0.6247 GB, free: 16.55 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.982e-05/1.23, allocations: 9.531 kB / 0.6248 GB, free: 16.55 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005379/1.231, allocations: 102 kB / 0.6248 GB, free: 16.47 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/1.231, allocations: 68.36 kB / 0.6249 GB, free: 16.46 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009473/1.241, allocations: 2.568 MB / 0.6274 GB, free: 15.13 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.04406/1.285, allocations: 13.85 MB / 0.6409 GB, free: 2.328 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004849/1.29, allocations: 1.621 MB / 0.6425 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/1.291, allocations: 0.7221 MB / 0.6432 GB, free: 15.85 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.273e-05/1.291, allocations: 51.56 kB / 0.6433 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002464/1.293, allocations: 198.1 kB / 0.6435 GB, free: 15.6 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 6.522e-06/1.293, allocations: 0 / 0.6435 GB, free: 15.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.01474/1.308, allocations: 3.497 MB / 0.6469 GB, free: 12.07 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000181/1.308, allocations: 141.5 kB / 0.647 GB, free: 11.91 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007703/1.316, allocations: 2.124 MB / 0.6491 GB, free: 9.742 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009198/1.317, allocations: 53.7 kB / 0.6491 GB, free: 9.684 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003576/1.321, allocations: 1.256 MB / 0.6504 GB, free: 8.418 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001758/1.323, allocations: 447.1 kB / 0.6508 GB, free: 7.984 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005496/1.323, allocations: 35.94 kB / 0.6508 GB, free: 7.949 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004534/1.324, allocations: 377.9 kB / 0.6512 GB, free: 7.574 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0031/1.327, allocations: 0.7378 MB / 0.6519 GB, free: 6.836 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003887/1.331, allocations: 1.229 MB / 0.6531 GB, free: 5.391 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002373/1.333, allocations: 0.9548 MB / 0.654 GB, free: 4.438 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-05/1.333, allocations: 11.95 kB / 0.6541 GB, free: 4.426 MB / 478.1 MB Notification: Performance of matching and sorting (n=213) (initialization): time 0.01126/1.344, allocations: 2.425 MB / 0.6564 GB, free: 1.984 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.005614/1.35, allocations: 5.71 MB / 0.662 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001241/1.35, allocations: 20 kB / 0.662 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003919/1.354, allocations: 0.5118 MB / 0.6625 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00267/1.357, allocations: 343.4 kB / 0.6628 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00679/1.364, allocations: 3.163 MB / 0.6659 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005839/1.37, allocations: 231.4 kB / 0.6662 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006852/1.371, allocations: 87.95 kB / 0.6662 GB, free: 7.324 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/1.371, allocations: 8 kB / 0.6663 GB, free: 7.316 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007716/1.378, allocations: 2.195 MB / 0.6684 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.894e-05/1.378, allocations: 20 kB / 0.6684 GB, free: 5.094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/1.38, allocations: 241.9 kB / 0.6686 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002872/1.383, allocations: 363.4 kB / 0.669 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008647/1.391, allocations: 4.212 MB / 0.6731 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005925/1.397, allocations: 227.5 kB / 0.6733 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008355/1.398, allocations: 83.97 kB / 0.6734 GB, free: 15.72 MB / 0.4981 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.005327/1.404, allocations: 1.012 MB / 0.6744 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001586/1.405, allocations: 205.5 kB / 0.6746 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007977/1.413, allocations: 2.074 MB / 0.6766 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.948e-05/1.413, allocations: 23.94 kB / 0.6766 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/1.413, allocations: 0 / 0.6766 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004421/1.418, allocations: 1.676 MB / 0.6783 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/1.434, allocations: 4.705 MB / 0.6829 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.177e-05/1.434, allocations: 4 kB / 0.6829 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/1.436, allocations: 207.6 kB / 0.6831 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002733/1.438, allocations: 452.1 kB / 0.6835 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002571/1.439, allocations: 35.97 kB / 0.6835 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005806/1.445, allocations: 3.08 MB / 0.6865 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.445, allocations: 0 / 0.6865 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/1.455, allocations: 3.063 MB / 0.6895 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003154/1.458, allocations: 0.549 MB / 0.6901 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001234/1.459, allocations: 28 kB / 0.6901 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004159/1.464, allocations: 203.6 kB / 0.6903 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000439/1.464, allocations: 105.1 kB / 0.6904 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003126/1.464, allocations: 52.16 kB / 0.6904 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004454/1.469, allocations: 1.483 MB / 0.6919 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.41e-07/1.469, allocations: 3.938 kB / 0.6919 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01134/1.48, allocations: 1.484 MB / 0.6933 GB, free: 10.92 MB / 0.5137 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.009601/1.49, allocations: 4.09 MB / 0.6973 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009689/1.5, allocations: 3.381 MB / 0.7006 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.819e-05/1.5, allocations: 4 kB / 0.7006 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003124/1.503, allocations: 1.029 MB / 0.7016 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009348/1.512, allocations: 1.131 MB / 0.7027 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03841/1.551, allocations: 17.28 MB / 0.7196 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004049/1.555, allocations: 2.219 MB / 0.7218 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004094/1.559, allocations: 0.9435 MB / 0.7227 GB, free: 12.37 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002684/1.562, allocations: 1.019 MB / 0.7237 GB, free: 11.35 MB / 0.545 GB Notification: Performance of SimCode: time 3.176e-06/1.562, allocations: 7.938 kB / 0.7237 GB, free: 11.34 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1996/1.762, allocations: 66.72 MB / 0.7889 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004293/1.762, allocations: 278 kB / 0.7891 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.789/8.551, allocations: 3.938 kB / 0.7891 GB, free: 8.973 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1) Environment - environmentSimulation: